using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace MMDAL.DTO.ProductionPlan { public class ProductionPlanDTO { #region PrivateMembers #region ProductionPlan private int productionplanid; //Id private DateTime productionplanproductionplandate; //ProductionPlanDate #region OrganizationUnit private int ouid = -1; private string oucode; private string ouname; #endregion #region BizTransactionType private int biztransactiontypeid = -1; private string biztransactiontypecode; private string biztransactiontypename; private int biztransactiontypebiztransactiontypeclassid; private byte biztransactiontypenogenerationtype; #endregion private string productionplanproductionplannumber; //ProductionPlanNumber private string productionplanreferencenumber; //ReferenceNumber private DateTime productionplanreferencedate; //ReferenceDate #region Process private int processid = -1; private string processcode; private string processname; #endregion #region WorkCenter private int workcenterid = -1; private string workcentercode; private string workcentername; #endregion #region PlannedBy private int plannedbyid = -1; private string plannedbycode; private string plannedbyname; #endregion private double productionplantotalnumberofbatches; //TotalNoOfBatches private double productionplantotalbatchquantity; //TotalBatchQuantity private string productionplanremarks; //Remarks #region Period private int periodid = -1; private string periodcode; private string periodname; #endregion #endregion #region Base private int productionplancreatedbyid; private DateTime productionplancreatedon; private int productionplanmodifiedbyid; private DateTime productionplanmodifiedon; #endregion #region Standard private byte productionplanstatus; //0.Pending, 1.Active, 2.Deleted, 3.Amended, 4.Inactive, 5.Archived private Int16 productionplanversion; #endregion private List productionplandetail = new List(); #endregion #region PublicMembers #region ProductionPlan public int ProductionPlanId { get { return productionplanid; } //Id set { productionplanid = value; } //Id } public DateTime ProductionPlanProductionPlanDate { get { return productionplanproductionplandate; } //ProductionPlanDate set { productionplanproductionplandate = value; } //ProductionPlanDate } #region OrganizationUnit public int OUId { get { return ouid; } set { ouid = value; } } public string OUCode { get { return oucode; } set { oucode = value; } } public string OUName { get { return ouname; } set { ouname = value; } } #endregion #region BizTransactionType public int BizTransactionTypeId { get { return biztransactiontypeid; } set { biztransactiontypeid = value; } } public string BizTransactionTypeCode { get { return biztransactiontypecode; } set { biztransactiontypecode = value; } } public string BizTransactionTypeName { get { return biztransactiontypename; } set { biztransactiontypename = value; } } public int BizTransactionTypeBIZTransactionTypeClassId { get { return biztransactiontypebiztransactiontypeclassid; } set { biztransactiontypebiztransactiontypeclassid = value; } } public byte BizTransactionTypeNOGenerationType { get { return biztransactiontypenogenerationtype; } set { biztransactiontypenogenerationtype = value; } } #endregion public string ProductionPlanProductionPlanNumber { get { return productionplanproductionplannumber; } //ProductionPlanNumber set { productionplanproductionplannumber = value; } //ProductionPlanNumber } public string ProductionPlanReferenceNumber { get { return productionplanreferencenumber; } //ReferenceNumber set { productionplanreferencenumber = value; } //ReferenceNumber } public DateTime ProductionPlanReferenceDate { get { return productionplanreferencedate; } //ReferenceDate set { productionplanreferencedate = value; } //ReferenceDate } #region Process public int ProcessId { get { return processid; } set { processid = value; } } public string ProcessCode { get { return processcode; } set { processcode = value; } } public string ProcessName { get { return processname; } set { processname = value; } } #endregion #region WorkCenter public int WorkCenterId { get { return workcenterid; } //Id set { workcenterid = value; } //Id } public string WorkCenterCode { get { return workcentercode; } //Code set { workcentercode = value; } //Code } public string WorkCenterName { get { return workcentername; } //Name set { workcentername = value; } //Name } #endregion #region PlannedBy public int PlannedById { get { return plannedbyid; } //Id set { plannedbyid = value; } //Id } public string PlannedByCode { get { return plannedbycode; } //Code set { plannedbycode = value; } //Code } public string PlannedByName { get { return plannedbyname; } //Name set { plannedbyname = value; } //Name } #endregion public double ProductionPlanTotalNumberOfBatches { get { return productionplantotalnumberofbatches; } //TotalNoOfBatches set { productionplantotalnumberofbatches = value; } //TotalNoOfBatches } public double ProductionPlanTotalBatchQuantity { get { return productionplantotalbatchquantity; } //TotalBatchQuantity set { productionplantotalbatchquantity = value; } //TotalBatchQuantity } public string ProductionPlanRemarks { get { return productionplanremarks; } //Remarks set { productionplanremarks = value; } //Remarks } #region Period public int PeriodId { get { return periodid; } set { periodid = value; } } public string PeriodCode { get { return periodcode; } set { periodcode = value; } } public string PeriodName { get { return periodname; } set { periodname = value; } } #endregion #endregion #region Base public int ProductionPlanCreatedById { get { return productionplancreatedbyid; } //Created By Person (User Id) set { productionplancreatedbyid = value; } //Created By Person (User Id) } public DateTime ProductionPlanCreatedOn { get { return productionplancreatedon; } //Created On Date set { productionplancreatedon = value; } //Created On Date } public int ProductionPlanModifiedById { get { return productionplanmodifiedbyid; } //Modified By Person (User Id) set { productionplanmodifiedbyid = value; } } public DateTime ProductionPlanModifiedOn { get { return productionplanmodifiedon; } //Modified On Date set { productionplanmodifiedon = value; } } #endregion #region Standard public byte ProductionPlanStatus { get { return productionplanstatus; } //0.Pending, 1.Active, 2.Deleted, 3.Amended, 4.Inactive, 5.Archived set { productionplanstatus = value; } } public Int16 ProductionPlanVersion { get { return productionplanversion; } //No Of Times Updated set { productionplanversion = value; } } #endregion public List ProductionPlanDetailArray { get { return productionplandetail; } set { productionplandetail = value; } } #endregion } }