18 lines
459 B
C#
18 lines
459 B
C#
using System.Text.Json.Serialization;
|
|
using Core.Models.Eft.Common.Tables;
|
|
|
|
namespace Core.Models.Eft.Inventory;
|
|
|
|
public class PinOrLockItemRequest
|
|
{
|
|
[JsonPropertyName("Action")]
|
|
public string? Action { get; set; } = "PinLock";
|
|
|
|
/** Id of item being pinned */
|
|
[JsonPropertyName("Item")]
|
|
public string? Item { get; set; }
|
|
|
|
/** "Pinned"/"Locked"/"Free" */
|
|
[JsonPropertyName("State")]
|
|
public PinLockState? State { get; set; }
|
|
} |