namespace MMDAL.DTO.Scheduling { public class SchedulingRunTriggerDTO { public int WorkOUId { get; set; } public int TenantId { get; set; } public int UserId { get; set; } public DateTime HorizonFrom { get; set; } public DateTime HorizonTo { get; set; } // Bitmask: 1=ProductionIndent 2=BatchPlan 4=ProcessGroup 8=WorkPlan // 16=ReworkJob 32=AdhocCorrection 64=NpdTrial 128=NestingPlan public int DemandSources { get; set; } public bool IsReschedule { get; set; } // Resource plan IDs that must not be moved during reschedule public List LockedPlanIds { get; set; } = new(); // When true, engine emits fine-grained TSCHEDULINGRUNTRACEENTRY rows per EU public bool TraceEnabled { get; set; } } }