46 lines
718 B
C#
46 lines
718 B
C#
using System.Text.Json.Serialization;
|
|
using Core.Models.Eft.Inventory;
|
|
|
|
namespace Core.Models.Eft.Customization;
|
|
|
|
public record BuyClothingRequestData : InventoryBaseActionRequestData
|
|
{
|
|
[JsonPropertyName("offer")]
|
|
public string? Offer
|
|
{
|
|
get;
|
|
set;
|
|
}
|
|
|
|
[JsonPropertyName("items")]
|
|
public List<PaymentItemForClothing>? Items
|
|
{
|
|
get;
|
|
set;
|
|
}
|
|
}
|
|
|
|
public record PaymentItemForClothing
|
|
{
|
|
[JsonPropertyName("del")]
|
|
public bool? Del
|
|
{
|
|
get;
|
|
set;
|
|
}
|
|
|
|
[JsonPropertyName("id")]
|
|
public string? Id
|
|
{
|
|
get;
|
|
set;
|
|
}
|
|
|
|
[JsonPropertyName("count")]
|
|
public int? Count
|
|
{
|
|
get;
|
|
set;
|
|
}
|
|
}
|