namespace QMSDAL.DTO { // ── Batch availability for RM item lookup ──────────────────────────────── public class BatchStockDTO { public int LotId { get; set; } public string BatchNo { get; set; } = string.Empty; public string? VendorBatchNo { get; set; } public int ItemId { get; set; } public string? ItemCode { get; set; } public string? ItemName { get; set; } public string? VendorName { get; set; } public string? GrnRef { get; set; } public DateTime ReceivedDate { get; set; } public decimal ReceivedQty { get; set; } public decimal AllocatedQty { get; set; } public decimal ConsumedQty { get; set; } public decimal FreeQty { get; set; } /// True when FreeQty >= the required qty passed in the query. public bool IsSufficient { get; set; } } }