28a434a622
Changed Comments to adhere to xml standard in all Models. Added missing comments.
48 lines
831 B
C#
48 lines
831 B
C#
using System.Text.Json.Serialization;
|
|
using Core.Models.Eft.Inventory;
|
|
|
|
namespace Core.Models.Eft.Repair;
|
|
|
|
public record RepairActionDataRequest : InventoryBaseActionRequestData
|
|
{
|
|
[JsonPropertyName("repairKitsInfo")]
|
|
public List<RepairKitsInfo>? RepairKitsInfo
|
|
{
|
|
get;
|
|
set;
|
|
}
|
|
|
|
/// <summary>
|
|
/// item to repair
|
|
/// </summary>
|
|
[JsonPropertyName("target")]
|
|
public string? Target
|
|
{
|
|
get;
|
|
set;
|
|
}
|
|
}
|
|
|
|
public record RepairKitsInfo
|
|
{
|
|
/// <summary>
|
|
/// id of repair kit to use
|
|
/// </summary>
|
|
[JsonPropertyName("_id")]
|
|
public string? Id
|
|
{
|
|
get;
|
|
set;
|
|
}
|
|
|
|
/// <summary>
|
|
/// amount of units to reduce kit by
|
|
/// </summary>
|
|
[JsonPropertyName("count")]
|
|
public int? Count
|
|
{
|
|
get;
|
|
set;
|
|
}
|
|
}
|