26 lines
596 B
C#
26 lines
596 B
C#
using System.Text.Json.Serialization;
|
|
using SPTarkov.Server.Core.Models.Common;
|
|
|
|
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 MongoId Id { get; set; }
|
|
|
|
[JsonPropertyName("count")]
|
|
public int? Count { get; set; }
|
|
|
|
[JsonPropertyName("scheme_id")]
|
|
public int? SchemeId { get; set; }
|
|
}
|