using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace CPRNIMS.Infrastructure.Dto.Inventory.Response { public class RISResponse { public long RISId { get; set; } public string RISNo { get; set; } = string.Empty; public int InventoryId { get; set; } public string ItemName { get; set; } = string.Empty; public long ItemNo { get; set; } public string? LotNo { get; set; } public string IssuedTo { get; set; } = string.Empty; public string DisciplineName { get; set; } = string.Empty; public string? Message { get; set; } public byte DisciplineId { get; set; } public decimal QtyIssued { get; set; } public string? Remarks { get; set; } public short Status { get; set; } public string StatusLabel => Status switch { 0 => "Draft", 1 => "Approved", 2 => "Cancelled", _ => "Unknown" }; public string CreatedBy { get; set; } = string.Empty; public DateTime CreatedDate { get; set; } public string? ApprovedBy { get; set; } public DateTime? ApprovedDate { get; set; } public decimal MRSCount { get; set; } public decimal TotalReturned { get; set; } } }