using System.Text.Json.Serialization;
using SPTarkov.Server.Core.Models.Eft.Common.Tables;

namespace SPTarkov.Server.Core.Models.Eft.Inventory;

public record AddItemTempObject
{
    [JsonExtensionData]
    public Dictionary<string, object>? ExtensionData { get; set; }

    [JsonPropertyName("itemRef")]
    public Item? ItemReference { get; set; }

    [JsonPropertyName("count")]
    public int? ItemCount { get; set; }

    [JsonPropertyName("isPreset")]
    public bool? IsPresetItem { get; set; }

    [JsonPropertyName("location")]
    public ItemLocation? ItemLocation { get; set; }

    /// <summary>
    ///     Container item will be placed in - stash or sorting table
    /// </summary>
    [JsonPropertyName("containerId")]
    public string? ContainerIdentifier { get; set; }
}
