namespace MMDAL.DTO.Routing { public class RoutingVersionDetailSaveDTO { public int RoutingDetailId { get; set; } public int RoutingVersionId { get; set; } public short SlNo { get; set; } public string Stage { get; set; } = string.Empty; public string Step { get; set; } = string.Empty; public int ProcessId { get; set; } = -1; public int WorkCenterId { get; set; } = -1; public byte LocationType { get; set; } public double FixedLeadTime { get; set; } public byte LeadTimeUOM { get; set; } public string Predecessor { get; set; } = string.Empty; public string Remarks { get; set; } = string.Empty; public int TenantId { get; set; } // ── ESE scheduling fields ───────────────────────────────────────────── public byte IsInterruptible { get; set; } public int MinimumRunMinutes { get; set; } public int MaxWaitMinutes { get; set; } public byte ExecutionMode { get; set; } public short SubcontractLeadTimeDays { get; set; } public int? ReworkRoutingDetailId { get; set; } public byte BatchContinuity { get; set; } public string? MonitorGroup { get; set; } public byte IsGroupOutputStep { get; set; } // ── Phase 3 new columns (Migration 001) ─────────────────────────────── public byte ConnectionType { get; set; } // 0=Direct, 1=Buffer public byte IsShipment { get; set; } public byte IsPackFlag { get; set; } } }