namespace MMDAL.DTO.ProductionPlan { public class ProductionPlanSaveDTO { public int ProductionPlanId { get; set; } public int BizTransactionTypeId { get; set; } = -1; public int OUId { get; set; } = -1; public int PeriodId { get; set; } = -1; public int ProcessId { get; set; } = -1; public int WorkCenterId { get; set; } = -1; public string ProductionPlanNumber { get; set; } = string.Empty; public DateTime ProductionPlanDate { get; set; } public string ReferenceNumber { get; set; } = string.Empty; public DateTime ReferenceDate { get; set; } public int PlannedById { get; set; } = -1; public double TotalNumberOfBatches { get; set; } public double TotalBatchQuantity { get; set; } public string Remarks { get; set; } = string.Empty; public int CreatedById { get; set; } public int ModifiedById { get; set; } public int TenantId { get; set; } public int Version { get; set; } public int Status { get; set; } public List Details { get; set; } = []; } public class ProductionPlanDetailSaveDTO { public int ProductionPlanDetailId { get; set; } public int ProductionPlanId { get; set; } public short SlNo { get; set; } public int SKUId { get; set; } = -1; public int ItemId { get; set; } = -1; public int MachineId { get; set; } = -1; public int MachineTypeId { get; set; } = -1; public double BatchSize { get; set; } public double NumberOfBatches { get; set; } public double BatchTotalQuantity { get; set; } public short NumberOfDays { get; set; } public DateTime FromDate { get; set; } public DateTime ToDate { get; set; } public byte Priority { get; set; } public int ProcessGroupId { get; set; } = -1; public int? IndentDetailId { get; set; } public int TenantId { get; set; } public int DocumentDetailId { get; set; } public int ProductionPlanType { get; set; } public int IndentMaterialId { get; set; } public int MachinePlanType { get; set; } public int PartyBranchId { get; set; } public int Duration { get; set; } } public class ProductionPlanListItemDTO { public int ProductionPlanId { get; set; } public string ProductionPlanNumber { get; set; } = string.Empty; public DateTime ProductionPlanDate { get; set; } public string OUName { get; set; } = string.Empty; public string WorkCenterName { get; set; } = string.Empty; public double TotalNumberOfBatches { get; set; } public double TotalBatchQuantity { get; set; } public byte Status { get; set; } } public class ProductionPlanDetailForWODTO { public int ProductionPlanDetailId { get; set; } public int SKUId { get; set; } public int ItemId { get; set; } public double BatchSize { get; set; } public double NumberOfBatches { get; set; } public double BatchTotalQuantity { get; set; } public DateTime FromDate { get; set; } public DateTime ToDate { get; set; } public byte Priority { get; set; } public int MMDetailDocId { get; set; } } }