using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace MMDAL.DTO.Allocation { public class AllocationDTO { #region PrivateMembers #region Allocation private int allocationid; #region BizTransactionType private int biztransactiontypeid = -1; private string biztransactiontypecode; private string biztransactiontypename; #endregion #region ObjectHeaderType private int objectheadertypeid = -1; private string objectheadertypecode; private string objectheadertypename; #endregion private int allocationobjectheaderid; //ObjectHeaderId #region ObjectType private int objecttypeid = -1; private string objecttypecode; private string objecttypename; #endregion private int allocationobjectid; //ObjectId private int allocationtype; //Type private int allocationnature; //Nature #region AllotedBizTransactionType private int allotedbiztransactiontypeid = -1; private string allotedbiztransactiontypecode; private string allotedbiztransactiontypename; private int allotedbiztransactionclassid = -1; #endregion #region AllotedHeaderType private int allotedheadertypeid = -1; private string allotedheadertypecode; private string allotedheadertypename; #endregion private int allocationallotedheaderid; //AllotedHeaderId #region AllotedObjectType private int allotedobjecttypeid = -1; private string allotedobjecttypecode; private string allotedobjecttypename; #endregion private int allocationallotedobjectid; //AllotedObjectId private double allocationquantity; //Quantity private double allocationrejectedquantity = 0; //Quantity private double allocationreworkquantity = 0; //Quantity private double allocationotherquantity = 0; //Quantity #region Process private int processid = -1; private string processcode; private string processname; #endregion #region AllotedAllocation private int allotedallocationid = -1; #endregion #region For Pending Purpose private string headername = ""; private DateTime headerdate = DateTime.UtcNow; private string refnumber = ""; private DateTime refdate = DateTime.UtcNow; private int headerdetailid = -1; private int skuid = -1; private string skucode = ""; private string skuname = ""; private int skucolorid = -1; private string skucolorname = ""; private int skucountid = -1; private string skucountname = ""; private int processforitemid = -1; private string processforitemcode = ""; private string processforitemname = ""; private int machinetypeid = -1; private string machinetypename = ""; private int partyid = -1; private string partyname = ""; private int partybranchid = -1; private string partybranchname = ""; private int priority; private double actualquantity; private int itemid = -1; private string itemcode = ""; private string itemname = ""; private decimal allocationqtyforchecking = 0; #endregion #region WorkCenter private int workcenterid = -1; private string workcentername; #endregion #region RecivedBy private int receivedbyid = -1; private string receivedbyname; private double allocationfreequantity; #endregion #endregion #endregion #region PublicMembers #region Allocation public int AllocationId { get { return allocationid; } //Id set { allocationid = value; } //Id } #region BizTransactionType public int BizTransactionTypeId { get { return biztransactiontypeid; } set { biztransactiontypeid = value; } } public string BizTransactionTypeCode { get { return biztransactiontypecode; } set { biztransactiontypecode = value; } } public string BizTransactionTypeName { get { return biztransactiontypename; } set { biztransactiontypename = value; } } #endregion #region ObjectHeaderType public int ObjectHeaderTypeId { get { return objectheadertypeid; } set { objectheadertypeid = value; } } public string ObjectHeaderTypeCode { get { return objectheadertypecode; } set { objectheadertypecode = value; } } public string ObjectHeaderTypeName { get { return objectheadertypename; } set { objectheadertypename = value; } } #endregion public int AllocationObjectHeaderId { get { return allocationobjectheaderid; } //ObjectHeaderId set { allocationobjectheaderid = value; } //ObjectHeaderId } #region ObjectType public int ObjectTypeId { get { return objecttypeid; } set { objecttypeid = value; } } public string ObjectTypeCode { get { return objecttypecode; } set { objecttypecode = value; } } public string ObjectTypeName { get { return objecttypename; } set { objecttypename = value; } } #endregion public int AllocationObjectId { get { return allocationobjectid; } //ObjectId set { allocationobjectid = value; } //ObjectId } public int AllocationType { get { return allocationtype; } //Type set { allocationtype = value; } //Type } public int AllocationNature { get { return allocationnature; } //Nature set { allocationnature = value; } //Nature } #region AllotedBizTransactionType public int AllotedBizTransactionTypeId { get { return allotedbiztransactiontypeid; } set { allotedbiztransactiontypeid = value; } } public string AllotedBizTransactionTypeCode { get { return allotedbiztransactiontypecode; } set { allotedbiztransactiontypecode = value; } } public string AllotedBizTransactionTypeName { get { return allotedbiztransactiontypename; } set { allotedbiztransactiontypename = value; } } public int AllotedBizTransactionClassId { get { return allotedbiztransactionclassid; } set { allotedbiztransactionclassid = value; } } #endregion #region AllotedHeaderType public int AllotedHeaderTypeId { get { return allotedheadertypeid; } set { allotedheadertypeid = value; } } public string AllotedHeaderTypeCode { get { return allotedheadertypecode; } set { allotedheadertypecode = value; } } public string AllotedHeaderTypeName { get { return allotedheadertypename; } set { allotedheadertypename = value; } } #endregion public int AllocationAllotedHeaderId { get { return allocationallotedheaderid; } //AllotedHeaderId set { allocationallotedheaderid = value; } //AllotedHeaderId } #region AllotedObjectType public int AllotedObjectTypeId { get { return allotedobjecttypeid; } set { allotedobjecttypeid = value; } } public string AllotedObjectTypeCode { get { return allotedobjecttypecode; } set { allotedobjecttypecode = value; } } public string AllotedObjectTypeName { get { return allotedobjecttypename; } set { allotedobjecttypename = value; } } #endregion public int AllocationAllotedObjectId { get { return allocationallotedobjectid; } //AllotedObjectId set { allocationallotedobjectid = value; } //AllotedObjectId } public double AllocationQuantity { get { return allocationquantity; } //Quantity set { allocationquantity = value; } //Quantity } public double AllocationRejectedQuantity { get { return allocationrejectedquantity; } //Quantity set { allocationrejectedquantity = value; } //Quantity } public double AllocationReworkQuantity { get { return allocationreworkquantity; } //Quantity set { allocationreworkquantity = value; } //Quantity } public double AllocationOtherQuantity { get { return allocationotherquantity; } //Quantity set { allocationotherquantity = value; } //Quantity } #region Process public int ProcessId { get { return processid; } set { processid = value; } } public string ProcessCode { get { return processcode; } set { processcode = value; } } public string ProcessName { get { return processname; } set { processname = value; } } #endregion #region AllotedAllocation public int AllotedAllocationId { get { return allotedallocationid; } //AllotedAllocation set { allotedallocationid = value; } //AllotedAllocation } #endregion #region For Pending Retriving Purpose public string HeaderName { get { return headername; } set { headername = value; } } public DateTime HeaderDate { get { return headerdate; } set { headerdate = value; } } public string RefNumber { get { return refnumber; } set { refnumber = value; } } public DateTime RefDate { get { return refdate; } set { refdate = value; } } public int HeaderDetailId { get { return headerdetailid; } set { headerdetailid = value; } } 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; } } 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 ProcessForItemId { get { return processforitemid; } set { processforitemid = value; } } public string ProcessForItemCode { get { return processforitemcode; } set { processforitemcode = value; } } public string ProcessForItemName { get { return processforitemname; } set { processforitemname = value; } } public int MachineTypeId { get { return machinetypeid; } set { machinetypeid = value; } } public string MachineTypeName { get { return machinetypename; } set { machinetypename = value; } } public int PartyId { get { return partyid; } set { partyid = value; } } public string PartyName { get { return partyname; } set { partyname = value; } } public int PartyBranchId { get { return partybranchid; } set { partybranchid = value; } } public string PartyBranchName { get { return partybranchname; } set { partybranchname = value; } } public double ActualQuantity { get { return actualquantity; } set { actualquantity = value; } } public int Priority { get { return priority; } set { priority = value; } } #endregion #region WorkCenter public int WorkCenterId { get { return workcenterid; } set { workcenterid = value; } } public string WorkCenterName { get { return workcentername; } set { workcentername = value; } } #endregion #region RecivedBy public int ReceivedbyId { get { return receivedbyid; } set { receivedbyid = value; } } public string ReceivedbyName { get { return receivedbyname; } set { receivedbyname = value; } } #endregion public decimal AllocationQtyForChecking { get { return allocationqtyforchecking; } set { allocationqtyforchecking = value; } } public double AllocationFreeQuantity { get { return allocationfreequantity; } //FreeQuantity set { allocationfreequantity = value; } //FreeQuantity } #endregion #endregion } }