using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace MMDAL.DTO.BOM { class BOMItemDetailExpandedDTO //: ReportPaginationDTO ----->DEVADMIN { #region PrivateMembers private int bomid; private string bomversionname; private DateTime fromdate; private DateTime todate; #region Item private int itemid; private string itemcode; private string itemname; #endregion private int itemuomid; private string itemuomname; private Int32 slno; private string productionstage; private string bomdetailproductionstage; private string productionstep; #region Process private int processid; private string processname; #endregion #region DetailItem private int detailitemid; private string detailitemcode; private string detailitemname; private byte detailitemtollerancetype; private decimal detailitemtollerancevalue; private byte detailitemisfreeapplicable; #endregion private byte detailitemlowlevelcode; private byte detailitemmakeorbuy; private byte detailitemortemplate; #region SKU private int skuid = -1; private string skucode = ""; private string skuname; private int bomdetailskuid = -1; private string bomdetailskucode = ""; private string bomdetailskuname; #endregion private string materialtype; #region Category private int categoryid; private string categorycode; private string categoryname; #endregion #region SubCategory private int subcategoryid; private string subcategorycode; private string subcategoryname; #endregion #region ItemGroup private int itemgroupid; private string itemgroupcode; private string itemgroupname; #endregion #region UOM private int uomid; private string uomname; private byte uomdecimals; #endregion private string iotypename; private decimal bomquantity; private decimal bomdetailitemquantity; private decimal requiredquantity; private int stage; private string code; private decimal stockquantity = -1; private int bomdetailid; #endregion private string parent; private string parentitemcode; private string parentitemname; private double bomdetailparentitemquntity; private string makeorbuy; private string itemortemplate; #region Item private int templateitemid; private string templateitemcode; private string templateitemname; #endregion private decimal quantity; private string detailiort; private string childitemortemplate; private string levelcode; private int mainslno; private int detailslno; private int level; private string childmakeorbuy; private decimal perproductionquantity; private decimal requiredproductionquantity; private decimal wastepercentage; private decimal netquantity; private decimal adjustquantity; private string parentuomname; private string versionname; private decimal bomcost; private decimal bomvalue; private decimal bomproductionvalue; private decimal bomproductionqty; private decimal soh; #region PublicMembers public decimal SOH { get { return soh; } set { soh = value; } } public decimal BomProductionValue { get { return bomproductionvalue; } set { bomproductionvalue = value; } } public decimal BOMProductionQty { get { return bomproductionqty; } set { bomproductionqty = value; } } public int BOMId { get { return bomid; } set { bomid = value; } } public string BOMVersionName { get { return bomversionname; } set { bomversionname = value; } } public DateTime FromDate { get { return fromdate; } set { fromdate = value; } } public DateTime ToDate { get { return todate; } set { todate = 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; } } public int ItemUOMId { get { return itemuomid; } set { itemuomid = value; } } public string ItemUOMName { get { return itemuomname; } set { itemuomname = value; } } #endregion public Int32 SlNo { get { return slno; } set { slno = value; } } public string BomDetailProductionStage { get { return bomdetailproductionstage; } set { bomdetailproductionstage = value; } } public string ProductionStage { get { return productionstage; } set { productionstage = value; } } public string ProductionStep { get { return productionstep; } set { productionstep = value; } } #region Process public int ProcessId { get { return processid; } set { processid = value; } } public string ProcessName { get { return processname; } set { processname = value; } } #endregion #region DetailItem public int DetailItemId { get { return detailitemid; } set { detailitemid = value; } } public string DetailItemCode { get { return detailitemcode; } set { detailitemcode = value; } } public string DetailItemName { get { return detailitemname; } set { detailitemname = value; } } public byte DetailItemTolleranceType { get { return detailitemtollerancetype; } set { detailitemtollerancetype = value; } } public decimal DetailItemTolleranceValue { get { return detailitemtollerancevalue; } set { detailitemtollerancevalue = value; } } public byte DetailItemIsFreeApplicable { get { return detailitemisfreeapplicable; } set { detailitemisfreeapplicable = value; } } #endregion public byte DetailItemLowLevelCode { get { return detailitemlowlevelcode; } set { detailitemlowlevelcode = value; } } public byte DetailItemMakeOrBuy { get { return detailitemmakeorbuy; } set { detailitemmakeorbuy = value; } } public byte DetailItemOrTemplate { get { return detailitemortemplate; } set { detailitemortemplate = 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; } } public int BomDetailSKUId { get { return bomdetailskuid; } set { bomdetailskuid = value; } } public string BomDetailSKUCode { get { return bomdetailskucode; } set { bomdetailskucode = value; } } public string BomDetailSKUName { get { return bomdetailskuname; } set { bomdetailskuname = value; } } #endregion public string MaterialType { get { return materialtype; } set { materialtype = value; } } #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 #region UOM public int UOMId { get { return uomid; } set { uomid = value; } } public string UOMName { get { return uomname; } set { uomname = value; } } public byte UOMDecimals { get { return uomdecimals; } set { uomdecimals = value; } } #endregion public string IOTypeName { get { return iotypename; } set { iotypename = value; } } public decimal BOMQuantity { get { return bomquantity; } set { bomquantity = value; } } public decimal BOMDetailItemQuantity { get { return bomdetailitemquantity; } set { bomdetailitemquantity = value; } } public decimal RequiredQuantity { get { return requiredquantity; } set { requiredquantity = value; } } public int Stage { get { return stage; } set { stage = value; } } public string Code { get { return code; } set { code = value; } } public decimal StockQuantity { get { return stockquantity; } set { stockquantity = value; } } public int BOMDetailId { get { return bomdetailid; } set { bomdetailid = value; } } public string Parent { get { return parent; } set { parent = value; } } public string ParentItemCode { get { return parentitemcode; } set { parentitemcode = value; } } public string ParentItemName { get { return parentitemname; } set { parentitemname = value; } } public double BOMDetailParentItemQuantity { get { return bomdetailparentitemquntity; } set { bomdetailparentitemquntity = value; } } #endregion private string bomcode; private string bomname; public string BOMCode { get { return bomcode; } set { bomcode = value; } } public string BOMName { get { return bomname; } set { bomname = value; } } public decimal BomCost { get { return bomcost; } set { bomcost = value; } } public decimal BomValue { get { return bomvalue; } set { bomvalue = value; } } public decimal PerProductionQuantity { get { return perproductionquantity; } set { perproductionquantity = value; } } public decimal RequiredProductionQuantity { get { return requiredproductionquantity; } set { requiredproductionquantity = value; } } public decimal WastePercentage { get { return wastepercentage; } set { wastepercentage = value; } } public decimal NetQuantity { get { return netquantity; } set { netquantity = value; } } public decimal AdjustQuantity { get { return adjustquantity; } set { adjustquantity = value; } } public string MakeOrBuy { get { return makeorbuy; } set { makeorbuy = value; } } public string ItemOrTemplate { get { return itemortemplate; } set { itemortemplate = value; } } public int TemplateItemId { get { return templateitemid; } set { templateitemid = value; } } public string TemplateItemCode { get { return templateitemcode; } set { templateitemcode = value; } } public string TemplateItemName { get { return templateitemname; } set { templateitemname = value; } } public decimal Quantity { get { return quantity; } set { quantity = value; } } public string DetailIorT { get { return detailiort; } set { detailiort = value; } } public string ChildItemOrTemplate { get { return childitemortemplate; } set { childitemortemplate = value; } } public string LevelCode { get { return levelcode; } set { levelcode = value; } } public int MainSlno { get { return mainslno; } set { mainslno = value; } } public int DetailSlno { get { return detailslno; } set { detailslno = value; } } public int Level { get { return level; } set { level = value; } } public string ChildMakeOrBuy { get { return childmakeorbuy; } set { childmakeorbuy = value; } } public string ParentUomName { get { return parentuomname; } set { parentuomname = value; } } public string VersionName { get { return versionname; } set { versionname = value; } } //Added For Count Purpose private Int64 numberofreocrds; public Int64 NumberOfReocrds { get { return numberofreocrds; } set { numberofreocrds = value; } } private string salesorder; private string location; private string partycode; private string partyname; private string referencenumber; public string Location { get { return location; } set { location = value; } } public string SalesOrder { get { return salesorder; } set { salesorder = value; } } public string PartyCode { get { return partycode; } set { partycode = value; } } public string PartyName { get { return partyname; } set { partyname = value; } } public string ReferenceNumber { get { return referencenumber; } set { referencenumber = value; } } } }