using System.Text.Json.Serialization; namespace Centron.Api.docuFORM.Models.Swagger; public class DeviceSupply { [JsonPropertyName("attachedItemId")] public int? AttachedItemId { get; set; } [JsonPropertyName("capacity")] public int? Capacity { get; set; } [JsonPropertyName("class")] public int? Class { get; set; } [JsonPropertyName("colorant")] public string? Colorant { get; set; } [JsonPropertyName("index")] public int Index { get; set; } [JsonPropertyName("level")] public int? Level { get; set; } [JsonPropertyName("levelCorrectionMode")] public string? LevelCorrectionMode { get; set; } [JsonPropertyName("name")] public string? Name { get; set; } [JsonPropertyName("orderState")] public string? OrderState { get; set; } [JsonPropertyName("originalPartNo")] public string? OriginalPartNo { get; set; } [JsonPropertyName("percent")] public int? Percent { get; set; } [JsonPropertyName("remainingPages")] public int? RemainingPages { get; set; } [JsonPropertyName("remainingDays")] public int? RemainingDays { get; set; } [JsonPropertyName("thresholdReached")] public bool? ThresholdReached { get; set; } [JsonPropertyName("timestamp")] public DateTime? Timestamp { get; set; } [JsonPropertyName("type")] public int? Type { get; set; } [JsonPropertyName("unit")] public int? Unit { get; set; } [JsonPropertyName("value")] public string? Value { get; set; } }