namespace MMDAL.DTO.MRPRun { // RunScope: 0=Macro, 1=Allocation, 2=SalesOrder, 3=FGItem public class MRPRunDTO { public int MRPRunId { get; set; } public int MRPId { get; set; } = -1; public string MRPCode { get; set; } = string.Empty; public string MRPName { get; set; } = string.Empty; public DateTime MRPRunMRPDate { get; set; } public byte MRPRunType { get; set; } // 0=MPS, 1=MRP, 2=MinMax, 3=ROL public byte RunScope { get; set; } // 0=Macro,1=Allocation,2=SalesOrder,3=FGItem public int? ScopeObjectId { get; set; } // AllocationId / SalesOrderId / ItemId public int MRPRunCreatedById { get; set; } = -1; public DateTime MRPRunCreatedOn { get; set; } public int MRPRunModifiedById { get; set; } = -1; public DateTime MRPRunModifiedOn { get; set; } public DateTime? MRPDate { get; set; } public int TenantId { get; set; } } }