24 lines
567 B
C#
24 lines
567 B
C#
using System.Text.Json.Serialization;
|
|
|
|
namespace Core.Models.Eft.Repair;
|
|
|
|
public class TraderRepairActionDataRequest : BaseRepairActionDataRequest
|
|
{
|
|
[JsonPropertyName("Action")]
|
|
public string? Action { get; set; } = "TraderRepair";
|
|
|
|
[JsonPropertyName("tid")]
|
|
public string? TId { get; set; }
|
|
|
|
[JsonPropertyName("repairItems")]
|
|
public List<RepairItem>? RepairItems { get; set; }
|
|
}
|
|
|
|
public class RepairItem
|
|
{
|
|
[JsonPropertyName("_id")]
|
|
public string? Id { get; set; }
|
|
|
|
[JsonPropertyName("count")]
|
|
public int? Count { get; set; }
|
|
} |