mirror of
https://github.com/CannedNet/CannedNet.git
synced 2026-10-26 07:28:56 -07:00
36 lines
919 B
C#
36 lines
919 B
C#
using System.Text.Json.Serialization;
|
|
|
|
namespace CannedNet.Models;
|
|
|
|
public class ConsumableItem
|
|
{
|
|
public int Id { get; set; }
|
|
|
|
public int OwnerAccountId { get; set; }
|
|
|
|
[JsonPropertyName("Ids")]
|
|
public List<int> Ids { get; set; } = new();
|
|
|
|
[JsonPropertyName("CreatedAts")]
|
|
public List<DateTime> CreatedAts { get; set; } = new();
|
|
|
|
[JsonPropertyName("ConsumableItemDesc")]
|
|
public string ConsumableItemDesc { get; set; } = string.Empty;
|
|
|
|
[JsonPropertyName("Count")]
|
|
public int Count { get; set; }
|
|
|
|
[JsonPropertyName("InitialCount")]
|
|
public int InitialCount { get; set; }
|
|
|
|
[JsonPropertyName("IsActive")]
|
|
public bool IsActive { get; set; }
|
|
|
|
[JsonPropertyName("ActiveDurationMinutes")]
|
|
public int ActiveDurationMinutes { get; set; }
|
|
|
|
[JsonPropertyName("IsTransferable")]
|
|
public bool IsTransferable { get; set; }
|
|
}
|
|
|