namespace MMDAL.DTO.Production { public class OperatorQueueUpdateDTO { public int IndentDetailId { get; set; } public string WorkOrderNumber { get; set; } = string.Empty; public string ItemName { get; set; } = string.Empty; public int WorkCenterId { get; set; } public byte ReleaseStatus { get; set; } public decimal PlannedQuantity { get; set; } public decimal ActualQuantity { get; set; } public int OperationId { get; set; } public int MachineId { get; set; } public byte PunchStatus { get; set; } public DateTime? PunchDateTime { get; set; } } public class StoppageAlertDTO { public int ProductionId { get; set; } public int IndentDetailId { get; set; } public int WorkCenterId { get; set; } public int MachineId { get; set; } public string StoppageReason { get; set; } = string.Empty; public DateTime StartTime { get; set; } public decimal DurationMinutes { get; set; } } public class SupervisorNotificationDTO { public int IndentDetailId { get; set; } public string WorkOrderNumber { get; set; } = string.Empty; public string ItemName { get; set; } = string.Empty; public byte ReleaseStatus { get; set; } public string Message { get; set; } = string.Empty; public DateTime NotificationTime { get; set; } = DateTime.UtcNow; } public class StageCompleteDTO { public int IndentDetailId { get; set; } public int OperationId { get; set; } public decimal GoodQuantity { get; set; } public decimal RejectedQuantity { get; set; } public decimal ReworkQuantity { get; set; } public DateTime CompletedAt { get; set; } = DateTime.UtcNow; } public class QualityEntryDTO { public int IndentDetailId { get; set; } public int OperationId { get; set; } public decimal GoodQuantity { get; set; } public decimal RejectedQuantity { get; set; } public string Remarks { get; set; } = string.Empty; } public class OperatorQueueItemDTO { public int IndentDetailId { get; set; } public string WorkOrderNumber { get; set; } = string.Empty; public int ItemId { get; set; } public string ItemName { get; set; } = string.Empty; public byte ReleaseStatus { get; set; } public decimal PlannedQuantity { get; set; } public int OperationId { get; set; } public int MachineId { get; set; } public byte PunchStatus { get; set; } public DateTime PunchDateTime { get; set; } } }