45 lines
674 B
C#
45 lines
674 B
C#
using System.Text.Json.Serialization;
|
|
|
|
namespace SPTarkov.Server.Core.Models.Eft.Trade;
|
|
|
|
public record ProcessSellTradeRequestData : ProcessBaseTradeRequestData
|
|
{
|
|
[JsonPropertyName("price")]
|
|
public double? Price
|
|
{
|
|
get;
|
|
set;
|
|
}
|
|
|
|
[JsonPropertyName("items")]
|
|
public List<SoldItem>? Items
|
|
{
|
|
get;
|
|
set;
|
|
}
|
|
}
|
|
|
|
public record SoldItem
|
|
{
|
|
[JsonPropertyName("id")]
|
|
public string? Id
|
|
{
|
|
get;
|
|
set;
|
|
}
|
|
|
|
[JsonPropertyName("count")]
|
|
public int? Count
|
|
{
|
|
get;
|
|
set;
|
|
}
|
|
|
|
[JsonPropertyName("scheme_id")]
|
|
public int? SchemeId
|
|
{
|
|
get;
|
|
set;
|
|
}
|
|
}
|