using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace MMDAL.DTO.NestingPlan { public class NestingPlanDTO { #region PrivateMembers #region NestingPlan private int nestingplanid; //Id private string nestingplancode; //Code private DateTime nestingplanplandate; //PlanDate private byte nestingplanplantype; //PlanType #region Item private int sheetitemid; //Id private string sheetitemcode; //Code private string sheetitemname; //Name private int sheetitemstockuomid; private string sheetitemstockuomname; private int sheetitemroutingid; private int sheetitemmaterialaccountid; #endregion #region SKU private int sheetskuid; //Id private string sheetskuname; //Name private string sheetskucode; //SKUCODE #endregion #region Lot private int lotid; //Id private string lotlotnumber; //LotNumber #endregion #region PackNumber private int packnumberid; //Id private string packnumbernumber; //PackNumber #endregion private string nestingplansheetdimension; //SheetDiminsion private string nestingplanreferencenumber; //Ref.No private DateTime nestingplanreferencedate; //ReferenceDate private double nestingplansheetweight; //SheetWeight private double nestingplantotalcomponentweight; //TotalComponentWeight private double nestingplanwastage; //Wastage private double nestingplanwastagepercentage; //WastagePercentage private string nestingplanfilereference; //Ref.No private string nestingplancmsid; //CMSID #region User private int planpreparedbyid; //Id private string planpreparedbycode; //Code private string planpreparedbyname; //Name #endregion #region User private int planapprovedbyid; //Id private string planapprovedbycode; //Code private string planapprovedbyname; //Name #endregion private Int16 nestingplannestingtime; private string nestingplanremarks; private double nestingplanrunlength = 0; private double nestingplanitemstock; #endregion private byte updatenestingplan; private Int16 nestingplansetuptime; private Int16 nestingplancycletime; #region Base private byte nestingplanstatus; //Status private Int16 nestingplanversion; //Version private byte nestingplansourcetype; //SourceType #endregion #region Standard private int nestingplancreatedbyid; //CreatedById private string nestingplancreatedbyname; //CreatedByName private DateTime nestingplancreatedon; //CreatedOn private int nestingplanmodifiedbyid; //ModifiedById private string nestingplanmodifiedbyname; //ModifiedByName private DateTime nestingplanmodifiedon; //ModifiedOn #endregion private List nestingplandetailarray = new List(); #endregion #region PublicMembers #region NestingPlan public int NestingPlanId { get { return nestingplanid; } //Id set { nestingplanid = value; } //Id } public string NestingPlanCode { get { return nestingplancode; } //Code set { nestingplancode = value; } //Code } public DateTime NestingPlanPlanDate { get { return nestingplanplandate; } //PlanDate set { nestingplanplandate = value; } //PlanDate } public byte NestingPlanPlanType { get { return nestingplanplantype; } //PlanType set { nestingplanplantype = value; } //PlanType } #region Item public int SheetItemId { get { return sheetitemid; } //Id set { sheetitemid = value; } //Id } public string SheetItemCode { get { return sheetitemcode; } //Code set { sheetitemcode = value; } //Code } public string SheetItemName { get { return sheetitemname; } //Name set { sheetitemname = value; } //Name } public int SheetItemStockUOMId { get { return sheetitemstockuomid; } //Name set { sheetitemstockuomid = value; } //Name } public string SheetItemStockUOMName { get { return sheetitemstockuomname; } //Name set { sheetitemstockuomname = value; } //Name } public int SheetItemRoutingId { get { return sheetitemroutingid; } //Name set { sheetitemroutingid = value; } //Name } public int SheetItemMaterialAccountId { get { return sheetitemmaterialaccountid; } //Name set { sheetitemmaterialaccountid = value; } //Name } #endregion #region SKU public int SheetSKUId { get { return sheetskuid; } //Id set { sheetskuid = value; } //Id } public string SheetSKUName { get { return sheetskuname; } //Name set { sheetskuname = value; } //Name } public string SheetSKUCode { get { return sheetskucode; } //SKUCODE set { sheetskucode = value; } //SKUCODE } #endregion #region Lot public int LotId { get { return lotid; } //Id set { lotid = value; } //Id } public string LotLotNumber { get { return lotlotnumber; } //LotNumber set { lotlotnumber = value; } //LotNumber } #endregion #region PackNumber public int PackNumberId { get { return packnumberid; } //Id set { packnumberid = value; } //Id } public string PackNumberNumber { get { return packnumbernumber; } //PackNumber set { packnumbernumber = value; } //PackNumber } #endregion public string NestingPlanSheetDimension { get { return nestingplansheetdimension; } //SheetDiminsion set { nestingplansheetdimension = value; } //SheetDiminsion } public string NestingPlanReferenceNumber { get { return nestingplanreferencenumber; } //Ref.No set { nestingplanreferencenumber = value; } //Ref.No } public DateTime NestingPlanReferenceDate { get { return nestingplanreferencedate; } //ReferenceDate set { nestingplanreferencedate = value; } //ReferenceDate } public double NestingPlanSheetWeight { get { return nestingplansheetweight; } //SheetWeight set { nestingplansheetweight = value; } //SheetWeight } public double NestingPlanTotalComponentWeight { get { return nestingplantotalcomponentweight; } //TotalComponentWeight set { nestingplantotalcomponentweight = value; } //TotalComponentWeight } public double NestingPlanWastage { get { return nestingplanwastage; } //Wastage set { nestingplanwastage = value; } //Wastage } public double NestingPlanWastagePercentage { get { return nestingplanwastagepercentage; } //WastagePercentage set { nestingplanwastagepercentage = value; } //WastagePercentage } public string NestingPlanFileReference { get { return nestingplanfilereference; } //Ref.No set { nestingplanfilereference = value; } //Ref.No } public string NestingPlanCMSID { get { return nestingplancmsid; } //CMSID set { nestingplancmsid = value; } //CMSID } #region User public int PlanPreparedById { get { return planpreparedbyid; } //Id set { planpreparedbyid = value; } //Id } public string PlanPreparedByCode { get { return planpreparedbycode; } //Code set { planpreparedbycode = value; } //Code } public string PlanPreparedByName { get { return planpreparedbyname; } //Name set { planpreparedbyname = value; } //Name } #endregion #region User public int PlanApprovedById { get { return planapprovedbyid; } //Id set { planapprovedbyid = value; } //Id } public string PlanApprovedByCode { get { return planapprovedbycode; } //Code set { planapprovedbycode = value; } //Code } public string PlanApprovedByName { get { return planapprovedbyname; } //Name set { planapprovedbyname = value; } //Name } #endregion public Int16 NestingPlanNestingTime { get { return nestingplannestingtime; } //NestingPlanNestingTime set { nestingplannestingtime = value; } //NestingPlanNestingTime } public string NestingPlanRemarks { get { return nestingplanremarks; } //NestingPlanRemarks set { nestingplanremarks = value; } //NestingPlanRemarks } public List NestingPlanDetailArray { get { return nestingplandetailarray; } set { nestingplandetailarray = value; } } public double NestingPlanItemStock { get { return nestingplanitemstock; } //ItemStock set { nestingplanitemstock = value; } //ItemStock } #endregion public byte UpdateNestingPlan { get { return updatenestingplan; } //PlanType set { updatenestingplan = value; } //PlanType } public double NestingPlanRunLength { get { return nestingplanrunlength; } //NestingPlanNestingTime set { nestingplanrunlength = value; } //NestingPlanNestingTime } public Int16 NestingPlanSetUpTime { get { return nestingplansetuptime; } //NestingPlanSetupTime set { nestingplansetuptime = value; } //NestingPlanSetupTime } public Int16 NestingPlanCycleTime { get { return nestingplancycletime; } //NestingPlanCycleTime set { nestingplancycletime = value; } //NestingPlanCycleTime } #region Base public byte NestingPlanStatus { get { return nestingplanstatus; } //Status set { nestingplanstatus = value; } //Status } public Int16 NestingPlanVersion { get { return nestingplanversion; } //Version set { nestingplanversion = value; } //Version } public byte NestingPlanSourceType { get { return nestingplansourcetype; } //SourceType set { nestingplansourcetype = value; } //SourceType } #endregion #region Standard public int NestingPlanCreatedById { get { return nestingplancreatedbyid; } //CreatedById set { nestingplancreatedbyid = value; } //CreatedById } public string NestingPlanCreatedByName { get { return nestingplancreatedbyname; } //CreatedByName set { nestingplancreatedbyname = value; } //CreatedByName } public DateTime NestingPlanCreatedOn { get { return nestingplancreatedon; } //CreatedOn set { nestingplancreatedon = value; } //CreatedOn } public int NestingPlanModifiedById { get { return nestingplanmodifiedbyid; } //ModifiedById set { nestingplanmodifiedbyid = value; } //ModifiedById } public string NestingPlanModifiedByName { get { return nestingplanmodifiedbyname; } //ModifiedByName set { nestingplanmodifiedbyname = value; } //ModifiedByName } public DateTime NestingPlanModifiedOn { get { return nestingplanmodifiedon; } //ModifiedOn set { nestingplanmodifiedon = value; } //ModifiedOn } private int tenantid; public int TenantId { get { return tenantid; } set { tenantid = value; } } #endregion #endregion } }