using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace MMDAL.DTO.Stock { public class StockPositionDTO { #region PrivateMembers #region StockPosition private int stockpositionid; //Id #region OrganizationUnit private int ouid = -1; private string oucode; private string ouname; #endregion #region Store private int storeid = -1; //Id private string storecode; //Code private string storename; //Name #endregion #region Item private int itemid = -1; private string itemcode; private string itemname; #endregion #region SKU private int skuid = -1; private string skucode; private string skuname; private int skucolorid = -1; private string skucolorname; private int skucountid = -1; private string skucountname; #endregion private double stockpositionquantity; //Quantity private double stockpositionshadowquantity; //ShadowQuantity private double stockpositionreworkquantity; //ShadowQuantity private double stockpositionrejectedquantity; //ShadowQuantity private double stockpositionotherquantity; //ShadowQuantity private double stockpositionwipquantity; #region Temproary Variables For Processing private int stockposttype; //This is For Temp Type Sending Puepose 0-Add,1-Less private double stockpositionactualquantity; private double oldquantity; #endregion #endregion #endregion #region PublicMembers #region StockPosition public int StockPositionId { get { return stockpositionid; } //Id set { stockpositionid = value; } //Id } #region OrganizationUnit public int OUId { get { return ouid; } set { ouid = value; } } public string OUCode { get { return oucode; } set { oucode = value; } } public string OUName { get { return ouname; } set { ouname = value; } } #endregion #region Store public int StoreId { get { return storeid; } set { storeid = value; } } public string StoreCode { get { return storecode; } set { storecode = value; } } public string StoreName { get { return storename; } set { storename = value; } } #endregion #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 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 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 double StockPositionQuantity { get { return stockpositionquantity; } //Quantity set { stockpositionquantity = value; } //Quantity } public double StockPositionShadowQuantity { get { return stockpositionshadowquantity; } //ShadowQuantity set { stockpositionshadowquantity = value; } //ShadowQuantity } public double StockPositionReworkQuantity { get { return stockpositionreworkquantity; } //StockPositionReworkQuantity set { stockpositionreworkquantity = value; } //StockPositionReworkQuantity } public double StockPositionRejectedQuantity { get { return stockpositionrejectedquantity; } //StockPositionRejectedQuantity set { stockpositionrejectedquantity = value; } //StockPositionRejectedQuantity } public double StockPositionOtherQuantity { get { return stockpositionotherquantity; } //StockPositionOtherQuantity set { stockpositionotherquantity = value; } //StockPositionOtherQuantity } public double StockPositionWIPQuantity { get { return stockpositionwipquantity; } //StockPositionWIPQuantity set { stockpositionwipquantity = value; } //StockPositionWIPQuantity } #region Temproary Variables For Processing public int StockPostType { get { return stockposttype; } set { stockposttype = value; } } public double StockPositionActualQuantity { get { return stockpositionactualquantity; } set { stockpositionactualquantity = value; } } public double OldQuantity { get { return oldquantity; } set { oldquantity = value; } } #endregion private double stockpositionreservedquantity; public double StockPositionReservedQuantity { get { return stockpositionreservedquantity; } //StockPositionReservedQuantity set { stockpositionreservedquantity = value; } //StockPositionReservedQuantity } #endregion #endregion private int objectheadertypeid = -1; private int objectheaderid = -1; private int allotedallocationid = -1; public int OBjectHeaderTypeId { get { return objectheadertypeid; } set { objectheadertypeid = value; } } public int OBjectHeaderId { get { return objectheaderid; } set { objectheaderid = value; } } public int AllotedAllocationId { get { return allotedallocationid; } set { allotedallocationid = value; } } private double stockpositiontotalquantity; private double stockpositionreservedfor; private double stockpositionreservedothers; private double stockpositionopenquantity; private double stockpositionavailablequantity; public double StockPositionTotalQuantity { get { return stockpositiontotalquantity; } //StockPositionTotalQuantity set { stockpositiontotalquantity = value; } //stockpositiontotalquantity } public double StockPositionReservedFor { get { return stockpositionreservedfor; } //StockPositionReservedFor set { stockpositionreservedfor = value; } //StockPositionReservedFor } public double StockPositionReservedOthers { get { return stockpositionreservedothers; } //StockPositionReservedOthers set { stockpositionreservedothers = value; } //StockPositionReservedOthers } public double StockPositionOpenQuantity { get { return stockpositionopenquantity; } //StockPositionOpenQuantity set { stockpositionopenquantity = value; } //StockPositionOpenQuantity } public double StockPositionAvailableQuantity { get { return stockpositionavailablequantity; } //StockPositionAvailableQuantity set { stockpositionavailablequantity = value; } //StockPositionAvailableQuantity } private double stockpositionunlinkedwipgoodquantity; private double stockpositionunlinkedwipreworkquantity; public virtual double StockPositionUnLinkedWIPGoodQuantity { get { return stockpositionunlinkedwipgoodquantity; } //wipquantity set { stockpositionunlinkedwipgoodquantity = value; } //wipquantity } public virtual double StockPositionUnLinkedWIPReworkQuantity { get { return stockpositionunlinkedwipreworkquantity; } //wipquantity set { stockpositionunlinkedwipreworkquantity = value; } //wipquantity } } }