using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace MMDAL.DTO.ProductionPlan { public class ProductionPlanDetailDTO { #region PrivateMembers #region ProductionPlanDetail private int productionplandetailid; //Id #region ProductionPlan private int productionplanid; private string productionplanproductionplannumber; private DateTime productionplanproductionplandate; private int productionplanbiztransactiontypeid; #endregion private Int16 productionplandetailslno; //SlNo private byte productionplandetailproductionplantype; //ProductionPlanType private Int16 productionplandetailduration; //Duration #region IndentDetail private int indentmaterialid = -1; private int indentmaterialindentdetailid = -1; private string indentmaterialindentdetailindentindentnumber; private int indentmaterialindentdetailindentid = -1; private int indentmaterialindentdetailmmdetailitemid = -1; private string indentmaterialindentdetailmmdetailitemname; #endregion #region ProcessGroup private int processgroupid = -1; private string processgroupprocessgroupnumber; #endregion #region SKU private int skuid = -1; private string skucode; private string skuname; private int skucolorid; private string skucolorname; private int skucountid; private string skucountname; #endregion private byte productionplandetailmachineplantype; //MachinePlanType #region MachineType private int machinetypeid = -1; private string machinetypecode; private string machinetypename; #endregion #region Machine private int machineid = -1; private string machinecode; private string machinename; #endregion private double productionplandetailbatchsize; //BatchSize private double productionplandetailnumberofbatches; //NumberOfBatches private double productionplandetailbatchtotalquantity; //BatchTotalQuantity private Int16 productionplandetailnumberofdays; //NumberOfDays private DateTime productionplandetailfromdate = DateTime.UtcNow; //FromDate private DateTime productionplandetailtodate = DateTime.UtcNow; //ToDate private byte productionplandetailpriority; private Int64 productionplandetailtotalnumberofduration; private double productionplandetailtotalnumberqty; #region Item private int itemid = -1; private string itemcode; private string itemname; #endregion #region PartyBranch private int partybranchid = -1; private string partybranchcode; private string partybranchname; #endregion #region MMDetail private int documentdetailid = -1; private int documentdetaildocumentid = -1; private string documentdetaildocumentnumber; #endregion #region "For Allocation Againest purpose" private int allotedbiztransactiontypeid = -1; //For Allocation Againest purpose private int allotedbiztransactionclassid = -1; //For Allocation Againest purpose private int allotedheadertypeid = -1; //For Allocation Againest purpose private int allotedheaderobjectid = -1; //For Allocation Againest purpose private int allotedobjecttypeid = -1; private int allotedobjectid = -1; //For Allocation Againest purpose #endregion #endregion #endregion #region PublicMembers #region ProductionPlanDetail public int ProductionPlanDetailId { get { return productionplandetailid; } //Id set { productionplandetailid = value; } //Id } #region ProductionPlan public int ProductionPlanId { get { return productionplanid; } set { productionplanid = value; } } public string ProductionPlanProductionPlanNumber { get { return productionplanproductionplannumber; } set { productionplanproductionplannumber = value; } } public DateTime ProductionPlanProductionPlanDate { get { return productionplanproductionplandate; } set { productionplanproductionplandate = value; } } public int ProductionPlanBizTransactionTypeId { get { return productionplanbiztransactiontypeid; } set { productionplanbiztransactiontypeid = value; } } #endregion public Int16 ProductionPlanDetailSlNo { get { return productionplandetailslno; } //SlNo set { productionplandetailslno = value; } //SlNo } public Int16 ProductionPlanDetailDuration { get { return productionplandetailduration; } set { productionplandetailduration = value; } } public byte ProductionPlanDetailProductionPlanType { get { return productionplandetailproductionplantype; } //ProductionPlanType set { productionplandetailproductionplantype = value; } //ProductionPlanType } #region IndentMaterial public int IndentMaterialId { get { return indentmaterialid; } //IndentMaterial set { indentmaterialid = value; } //IndentMaterial } public int IndentMaterialIndentDetailId { get { return indentmaterialindentdetailid; } set { indentmaterialindentdetailid = value; } } public string IndentMaterialIndentDetailIndentIndentNumber { get { return indentmaterialindentdetailindentindentnumber; } set { indentmaterialindentdetailindentindentnumber = value; } } public int IndentMaterialIndentDetailIndentId { get { return indentmaterialindentdetailindentid; } set { indentmaterialindentdetailindentid = value; } } public int IndentMaterialIndentDetailMMDetailItemId { get { return indentmaterialindentdetailmmdetailitemid; } set { indentmaterialindentdetailmmdetailitemid = value; } } public string IndentMaterialIndentDetailMMDetailItemName { get { return indentmaterialindentdetailmmdetailitemname; } set { indentmaterialindentdetailmmdetailitemname = value; } } #endregion #region ProcessGroup public int ProcessGroupId { get { return processgroupid; } //ProcessGroup set { processgroupid = value; } //ProcessGroup } public string ProcessGroupProcessGroupNumber { get { return processgroupprocessgroupnumber; } set { processgroupprocessgroupnumber = value; } } #endregion #region "SKU" public int SKUId { get { return skuid; } set { skuid = value; } } public string SKUName { get { return skuname; } set { skuname = value; } } public int SKUColorId { get { return skucolorid; } set { skucolorid = value; } } public string SKUColorName { get { return skucolorname; } set { skucolorname = value; } } public int SKUCountId { get { return skucountid; } set { skucountid = value; } } public string SKUCountName { get { return skucountname; } set { skucountname = value; } } #endregion public byte ProductionPlanDetailMachinePlanType { get { return productionplandetailmachineplantype; } //MachinePlanType set { productionplandetailmachineplantype = value; } //MachinePlanType } #region "MachineType" public int MachineTypeId { get { return machinetypeid; } set { machinetypeid = value; } } public string MachineTypeCode { get { return machinetypecode; } set { machinetypecode = value; } } public string MachineTypeName { get { return machinetypename; } set { machinetypename = value; } } #endregion #region "PartyBranch" public int PartyBranchId { get { return partybranchid; } set { partybranchid = value; } } public string PartyBranchCode { get { return partybranchcode; } set { partybranchcode = value; } } public string PartyBranchName { get { return partybranchname; } set { partybranchname = value; } } #endregion #region "Machine" public int MachineId { get { return machineid; } set { machineid = value; } } public string MachineCode { get { return machinecode; } set { machinecode = value; } } public string MachineName { get { return machinename; } set { machinename = value; } } #endregion public double ProductionPlanDetailBatchSize { get { return productionplandetailbatchsize; } //BatchSize set { productionplandetailbatchsize = value; } //BatchSize } public double ProductionPlanDetailNumberOfBatches { get { return productionplandetailnumberofbatches; } //NumberOfBatches set { productionplandetailnumberofbatches = value; } //NumberOfBatches } public double ProductionPlanDetailBatchTotalQuantity { get { return productionplandetailbatchtotalquantity; } //BatchTotalQuantity set { productionplandetailbatchtotalquantity = value; } //BatchTotalQuantity } public Int16 ProductionPlanDetailNumberOfDays { get { return productionplandetailnumberofdays; } //NumberOfDays set { productionplandetailnumberofdays = value; } //NumberOfDays } public Int64 ProductionPlanDetailTotalNumberOfDuration { get { return productionplandetailtotalnumberofduration; } //NumberOfDays set { productionplandetailtotalnumberofduration = value; } //NumberOfDays } public double ProductionPlanDetailTotalNumberQty { get { return productionplandetailtotalnumberqty; } //NumberOfDays set { productionplandetailtotalnumberqty = value; } //NumberOfDays } public DateTime ProductionPlanDetailFromDate { get { return productionplandetailfromdate; } //FromDate set { productionplandetailfromdate = value; } //FromDate } public DateTime ProductionPlanDetailToDate { get { return productionplandetailtodate; } //ToDate set { productionplandetailtodate = value; } //ToDate } public byte ProductionPlanDetailPriority { get { return productionplandetailpriority; } set { productionplandetailpriority = value; } } #region "Item" public int ItemId { get { return itemid; } set { itemid = value; } } public string ItemCode { get { return itemcode; } set { itemcode = value; } } public string ItemName { get { return itemname; } set { itemname = value; } } #endregion #region MMDetail public int DocumentDetailId { get { return documentdetailid; } //IndentMaterial set { documentdetailid = value; } //IndentMaterial } public int DocumentDetailDocumentId { get { return documentdetaildocumentid; } set { documentdetaildocumentid = value; } } public string DocumentDetailDocumentNumber { get { return documentdetaildocumentnumber; } set { documentdetaildocumentnumber = value; } } #endregion #region "For Allocation Againest purpose" public int AllotedBizTransactionTypeId //For Allocation Againest purpose { get { return allotedbiztransactiontypeid; } set { allotedbiztransactiontypeid = value; } } public int AllotedBizTransactionClassId //For Allocation Againest purpose { get { return allotedbiztransactionclassid; } set { allotedbiztransactionclassid = value; } } public int AllotedHeaderTypeId //For Allocation Againest purpose { get { return allotedheadertypeid; } set { allotedheadertypeid = value; } } public int AllotedHeaderObjectId //For Allocation Againest purpose { get { return allotedheaderobjectid; } set { allotedheaderobjectid = value; } } public int AllotedObjectTypeId //For Allocation Againest purpose { get { return allotedobjecttypeid; } set { allotedobjecttypeid = value; } } public int AllotedObjectId //For Allocation Againest purpose { get { return allotedobjectid; } set { allotedobjectid = value; } } #endregion #endregion #endregion } }