using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace MMDAL.DTO.BOM { public class BOMDetailDTO { #region PrivateMembers private int bomdetaillineid; private int bomdetailbomid; private int bomdetailbombomproductionitemid; private string bomdetailbombomproductionitemcode; private string bomdetailbombomproductionitemname; private Int16 bomdetailslno; private string bomdetailproductionstage; private int productionprocessid = -1; private string productionprocesscode; private string productionprocessname; private byte bomdetailmaterialtype; private byte bomdetailincludeexcludetype; private int itemid = -1; private string itemcode; private string itmename; private byte itemtollerancetype; private double itemtollerancevalue; private byte itemisfreeapplicable; private byte itemisskutrackingapplicable; private int subitemid = -1; private string subitemcode; private string subitemname; private int processid = -1; private string processcode; private string processname; private double bomdetailquantity; private double bomdetailpercentage; private int bomdetailuomid = -1; private string bomdetailuomcode; private string bomdetailuomname; private byte bomdetailischangeable; private int parentbomdetaillineid = -1; private byte bomdetaillevel; private string bomdetailproductionstep; private byte bomdetailiotype; private byte bomdetailmakeorbuy; private int skuid = -1; private string skucode; private string skuname; private byte bomdetailcalculationtype; private int bomdetailunitquantityformulaid = -1; private int bomdetailperproductionquantityformulaid = -1; private double bomdetailperproductionquantity; private int productionuomid = -1; private string productionuomcode; private string productionuomname; private double bomdetailrequiredproductionquantity; private double bomdetailcalculatedquantity; private double bomdetailwastepercentage; private double bomdetailnetquantity; private double bomdetailadjustquantity; private double bomdetailfinalquantity; private double bomdetailissuedquantity; private double stockquantity; private string bomdetaillevelcode; private byte bomdetaildefaultlocationtype; #region Category private int categoryid = -1; private string categorycode; private string categoryname; #endregion #region SubCategory private int subcategoryid = -1; private string subcategorycode; private string subcategoryname; #endregion #region ItemGroup private int itemgroupid = -1; private string itemgroupcode; private string itemgroupname; #endregion #region ItemGroup private int parametersetid = -1; private string parametersetcode; private string parametersetname; #endregion private DateTime fromdate; private DateTime todate; private string bomversionname; private int previousparentbomlineid = -1; private List bomdetailparameter = new List(); private Int64 numberofrecords; private string texttype; private decimal bomdetailorequiredproductionquantity; private double bomdetaild1; private double bomdetaild2; private double bomdetaild3; private double bomdetaild4; private double bomdetaild5; private string bomdetailpartnumber; private string bomdetailpartname; private string bomdetailparticulars; private string bomdetailpartdrawingnumber; private int partmainitemid = -1; private string partmainitemcode; private string partmainitemname; private int partmainskuid = -1; private string partmainskucode; private string partmainskuname; private decimal finalqtytopost; private int itemisstockposting; private int stockuomid; private string bomdetailiotypename; private string bomdetailmakeorbuyname; #endregion #region PublicMembers public string BOMDetailIOTypeName { get { return bomdetailiotypename; } set { bomdetailiotypename = value; } } public string BOMDetailMakeOrBuyName { get { return bomdetailmakeorbuyname; } set { bomdetailmakeorbuyname = value; } } public int BOMDetailLineId { get { return bomdetaillineid; } set { bomdetaillineid = value; } } public int BOMDetailBOMId { get { return bomdetailbomid; } set { bomdetailbomid = value; } } public int BOMDetailBOMBOMProductionItemId { get { return bomdetailbombomproductionitemid; } set { bomdetailbombomproductionitemid = value; } } public string BOMDetailBOMBOMProductionItemCode { get { return bomdetailbombomproductionitemcode; } set { bomdetailbombomproductionitemcode = value; } } public string BOMDetailBOMBOMProductionItemName { get { return bomdetailbombomproductionitemname; } set { bomdetailbombomproductionitemname = value; } } public Int16 BOMDetailSlNo { get { return bomdetailslno; } set { bomdetailslno = value; } } public string BOMDetailProductionStage { get { return bomdetailproductionstage; } set { bomdetailproductionstage = value; } } public int BOMDetailProductionProcessId { get { return productionprocessid; } set { productionprocessid = value; } } public string BOMDetailProductionProcessCode { get { return productionprocesscode; } set { productionprocesscode = value; } } public string BOMDetailProductionProcessName { get { return productionprocessname; } set { productionprocessname = value; } } public byte BOMDetailMaterialType { get { return bomdetailmaterialtype; } set { bomdetailmaterialtype = value; } } public byte BOMDetailIncludeExcludeType { get { return bomdetailincludeexcludetype; } set { bomdetailincludeexcludetype = value; } } public int BOMDetailItemId { get { return itemid; } set { itemid = value; } } public string BOMDetailItemCode { get { return itemcode; } set { itemcode = value; } } public string BOMDetailItemName { get { return itmename; } set { itmename = value; } } public byte BOMDetailItemTolleranceType { get { return itemtollerancetype; } set { itemtollerancetype = value; } } public double BOMDetailItemTolleranceValue { get { return itemtollerancevalue; } set { itemtollerancevalue = value; } } public byte BOMDetailItemIsFreeApplicable { get { return itemisfreeapplicable; } set { itemisfreeapplicable = value; } } public byte ItemIsSKUTrackingapplicable { get { return itemisskutrackingapplicable; } set { itemisskutrackingapplicable = value; } } public int SubItemId { get { return subitemid; } set { subitemid = value; } } public string SubItemCode { get { return subitemcode; } set { subitemcode = value; } } public string SubItemName { get { return subitemname; } set { subitemname = value; } } public int BOMDetailProcessId { get { return processid; } set { processid = value; } } public string BOMDetailProcessCode { get { return processcode; } set { processcode = value; } } public string BOMDetailProcessName { get { return processname; } set { processname = value; } } public double BOMDetailQuantity { get { return bomdetailquantity; } set { bomdetailquantity = value; } } public double BOMDetailPercentage { get { return bomdetailpercentage; } set { bomdetailpercentage = value; } } public int BOMDetailUOMId { get { return bomdetailuomid; } set { bomdetailuomid = value; } } public string BOMDetailUOMCode { get { return bomdetailuomcode; } set { bomdetailuomcode = value; } } public string BOMDetailUOMName { get { return bomdetailuomname; } set { bomdetailuomname = value; } } public byte BOMDetailIschangeable { get { return bomdetailischangeable; } set { bomdetailischangeable = value; } } public int ParentBOMLineLineId { get { return parentbomdetaillineid; } set { parentbomdetaillineid = value; } } public byte BOMDetailLevel { get { return bomdetaillevel; } set { bomdetaillevel = value; } } public string BOMDetailProductionStep { get { return bomdetailproductionstep; } set { bomdetailproductionstep = value; } } public byte BOMDetailIOType { get { return bomdetailiotype; } set { bomdetailiotype = value; } } public byte BOMDetailMakeOrBuy { get { return bomdetailmakeorbuy; } set { bomdetailmakeorbuy = value; } } #region SKU public int SKUId { get { return skuid; } set { skuid = value; } } public string SKUCode { get { return skucode; } set { skucode = value; } } public string SKUName { get { return skuname; } set { skuname = value; } } #endregion public byte BOMDetailCalculationType { get { return bomdetailcalculationtype; } set { bomdetailcalculationtype = value; } } public int BOMDetailUnitQuantityFormulaId { get { return bomdetailunitquantityformulaid; } set { bomdetailunitquantityformulaid = value; } } public int BOMDetailPerProductionQuantityFormulaId { get { return bomdetailperproductionquantityformulaid; } set { bomdetailperproductionquantityformulaid = value; } } public double BOMDetailPerProductionQuantity { get { return bomdetailperproductionquantity; } set { bomdetailperproductionquantity = value; } } public int ProductionUOMId { get { return productionuomid; } set { productionuomid = value; } } public string ProductionUOMCode { get { return productionuomcode; } set { productionuomcode = value; } } public string ProductionUOMName { get { return productionuomname; } set { productionuomname = value; } } public double BOMDetailRequiredProductionQuantity { get { return bomdetailrequiredproductionquantity; } set { bomdetailrequiredproductionquantity = value; } } public double BOMDetailCalculatedQuantity { get { return bomdetailcalculatedquantity; } set { bomdetailcalculatedquantity = value; } } public double BOMDetailWastePercentage { get { return bomdetailwastepercentage; } set { bomdetailwastepercentage = value; } } public double BOMDetailNetQuantity { get { return bomdetailnetquantity; } set { bomdetailnetquantity = value; } } public double BOMDetailAdjustQuantity { get { return bomdetailadjustquantity; } set { bomdetailadjustquantity = value; } } public double BOMDetailFinalQuantity { get { return bomdetailfinalquantity; } set { bomdetailfinalquantity = value; } } public double BOMDetailIssuedQuantity { get { return bomdetailissuedquantity; } set { bomdetailissuedquantity = value; } } public double StockQuantity { get { return stockquantity; } set { stockquantity = value; } } #region ParameterSet public int ParameterSetId { get { return parametersetid; } set { parametersetid = value; } } public string ParameterSetCode { get { return parametersetcode; } set { parametersetcode = value; } } public string ParameterSetName { get { return parametersetname; } set { parametersetname = value; } } #endregion #region Category public int CategoryId { get { return categoryid; } set { categoryid = value; } } public string CategoryCode { get { return categorycode; } set { categorycode = value; } } public string CategoryName { get { return categoryname; } set { categoryname = value; } } #endregion #region SubCategory public int SubCategoryId { get { return subcategoryid; } set { subcategoryid = value; } } public string SubCategoryCode { get { return subcategorycode; } set { subcategorycode = value; } } public string SubCategoryName { get { return subcategoryname; } set { subcategoryname = value; } } #endregion #region ItemGroup public int ItemGroupId { get { return itemgroupid; } set { itemgroupid = value; } } public string ItemGroupCode { get { return itemgroupcode; } set { itemgroupcode = value; } } public string ItemGroupName { get { return itemgroupname; } set { itemgroupname = value; } } #endregion public List BOMDetailParameterArray { get { return bomdetailparameter; } set { bomdetailparameter = value; } } public string BOMDetailLevelCode { get { return bomdetaillevelcode; } set { bomdetaillevelcode = value; } } public byte BOMDetailDefaultLocationType { get { return bomdetaildefaultlocationtype; } set { bomdetaildefaultlocationtype = value; } } public Int64 NumberOfRecords { get { return numberofrecords; } set { numberofrecords = value; } } public string TextType { get { return texttype; } set { texttype = value; } } public decimal BOMDetailORequiredProductionQuantity { get { return bomdetailorequiredproductionquantity; } set { bomdetailorequiredproductionquantity = value; } } public DateTime FromDate { get { return fromdate; } set { fromdate = value; } } public DateTime ToDate { get { return todate; } set { todate = value; } } public string BOMVersionName { get { return bomversionname; } set { bomversionname = value; } } public int PreviousParentBOMLineId { get { return previousparentbomlineid; } set { previousparentbomlineid = value; } } public decimal FinalQtyToPost { get { return finalqtytopost; } set { finalqtytopost = value; } } public int ItemIsStockPosting { get { return itemisstockposting; } set { itemisstockposting = value; } } public int StockUomId { get { return stockuomid; } set { stockuomid = value; } } public double BOMDetailD1 { get { return bomdetaild1; } set { bomdetaild1 = value; } } public double BOMDetailD2 { get { return bomdetaild2; } set { bomdetaild2 = value; } } public double BOMDetailD3 { get { return bomdetaild3; } set { bomdetaild3 = value; } } public double BOMDetailD4 { get { return bomdetaild4; } set { bomdetaild4 = value; } } public double BOMDetailD5 { get { return bomdetaild5; } set { bomdetaild5 = value; } } public string BOMDetailPartNumber { get { return bomdetailpartnumber; } set { bomdetailpartnumber = value; } } public string BOMDetailPartName { get { return bomdetailpartname; } set { bomdetailpartname = value; } } public string BOMDetailParticulars { get { return bomdetailparticulars; } set { bomdetailparticulars = value; } } public string BOMDetailPartDrawingNumber { get { return bomdetailpartdrawingnumber; } set { bomdetailpartdrawingnumber = value; } } public int PartMainItemId { get { return partmainitemid; } set { partmainitemid = value; } } public string PartMainItemCode { get { return partmainitemcode; } set { partmainitemcode = value; } } public string PartMainItemName { get { return partmainitemname; } set { partmainitemname = value; } } public int PartMainSkuId { get { return partmainskuid; } set { partmainskuid = value; } } public string PartMainSkuCode { get { return partmainskucode; } set { partmainskucode = value; } } public string PartMainSkuName { get { return partmainskuname; } set { partmainskuname = value; } } #endregion } }