namespace QMSDAL.DTO { // One SET-level TLOT row actually generated via SaveSetSerialGenerationAsync // for a specific alloted allocation. SetNumber is parsed from LotNumber // ("{ItemCode}-{AllocationShortName}-SET-{NNNN}") in the BLL, the same way // ExtractLastRun parses running numbers elsewhere. public class GeneratedSetLotDTO { public int LotId { get; set; } public string LotNumber { get; set; } = string.Empty; public DateTime LotDate { get; set; } public int SetNumber { get; set; } public int ItemId { get; set; } } }