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