using System; using System.Collections.Generic; using System.Linq; using System.Text; using MMDAL.DTO.Pack; namespace MMDAL.DTO.Production { public class ProductionItemsDTO { #region PrivateMembers #region ProductionItem private int productionitemsid; //Id #region ProcessingProduction private int productiondetailid = -1; //Id #endregion private Int16 productionitemsslno; //SlNo private byte productionitemstype; //SlNo #region Item private int itemid = -1; private string itemcode; private string itemname; #endregion #region SKU private int skuid = -1; private string skuname; private string skucode; #endregion #region UOM private int uomid = -1; private string uomcode; private string uomname; #endregion private double productionitemsgoodquantity; //GoodQuantity private double productionitemsrejectedquantity; //RejectedQuantity private double productionitemsreworkquantity; //ReworkQuantity private double productionitemsotherquantity; //OtherQuantity private double weight; private Int16 productionitemspackquantity=0; private byte productionitemsstockposttype; #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 ProductionItem public int ProductionItemsId { get { return productionitemsid; } //Id set { productionitemsid = value; } } #region ProcessingProduction public int ProductionDetailId { get { return productiondetailid; } //Id set { productiondetailid = value; } //Id } #endregion public Int16 ProductionItemsSlNo { get { return productionitemsslno; } //SlNo set { productionitemsslno = value; } } public byte ProductionItemsType { get { return productionitemstype; } //SlNo set { productionitemstype = value; } } #region Item public int ItemId { get { return itemid; } //Id set { itemid = value; } //Id } public string ItemCode { get { return itemcode; } //Code set { itemcode = value; } //Code } public string ItemName { get { return itemname; } //Name set { itemname = value; } //Name } #endregion #region SKU public int SKUId { get { return skuid; } //Id set { skuid = value; } //Id } public string SKUCode { get { return skucode; } //Name set { skucode = value; } //Name } public string SKUName { get { return skuname; } //Name set { skuname = value; } //Name } #endregion #region UOM public int UOMId { get { return uomid; } //Id set { uomid = value; } //Id } public string UOMCode { get { return uomcode; } //Code set { uomcode = value; } //Code } public string UOMName { get { return uomname; } //Name set { uomname = value; } //Name } #endregion public double ProductionItemsGoodQuantity { get { return productionitemsgoodquantity; } //PackQuantity set { productionitemsgoodquantity = value; } } public double ProductionItemsRejectedQuantity { get { return productionitemsrejectedquantity; } //InputQuantity set { productionitemsrejectedquantity = value; } } public double ProductionItemsReworkQuantity { get { return productionitemsreworkquantity; } //OutputQuantity set { productionitemsreworkquantity = value; } } public double ProductionItemsOtherQuantity { get { return productionitemsotherquantity; } //TotalWeight set { productionitemsotherquantity = value; } } public double Weight { get { return weight; } //TotalWeight set { weight = value; } } public Int16 ProductionItemsPackQuantity { get { return productionitemspackquantity; } //TotalWeight set { productionitemspackquantity = value; } } public byte ProductionItemsStockPostType { get { return productionitemsstockposttype; } //SlNo set { productionitemsstockposttype = 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 private List packdetaildto = new List(); public List PackDetailArray { get { return packdetaildto; } set { packdetaildto = value; } } private byte isbatchstock=1; private byte isuniquebatch=1; public byte IsBatchStock { get { return isbatchstock; } //IsBatchStock set { isbatchstock = value; } } public byte IsUniqueBatch { get { return isuniquebatch; } //isuniquebatch set { isuniquebatch = value; } } } }