b3c5d3732e
* Begin initial work to make Hideout id's MongoId's * Set template to mongo * More conversions
29 lines
844 B
C#
29 lines
844 B
C#
using System.Text.Json.Serialization;
|
|
using SPTarkov.Server.Core.Models.Common;
|
|
using SPTarkov.Server.Core.Models.Eft.Common.Tables;
|
|
using SPTarkov.Server.Core.Models.Eft.Inventory;
|
|
using SPTarkov.Server.Core.Models.Enums;
|
|
|
|
namespace SPTarkov.Server.Core.Models.Eft.Hideout;
|
|
|
|
public record HideoutImproveAreaRequestData : InventoryBaseActionRequestData
|
|
{
|
|
[JsonExtensionData]
|
|
public Dictionary<string, object>? ExtensionData { get; set; }
|
|
|
|
/// <summary>
|
|
/// Hideout area id from areas.json
|
|
/// </summary>
|
|
[JsonPropertyName("id")]
|
|
public MongoId AreaId { get; set; }
|
|
|
|
[JsonPropertyName("areaType")]
|
|
public HideoutAreas? AreaType { get; set; }
|
|
|
|
[JsonPropertyName("items")]
|
|
public List<HideoutItem>? Items { get; set; }
|
|
|
|
[JsonPropertyName("timestamp")]
|
|
public long? Timestamp { get; set; }
|
|
}
|