using System; using System.Collections.Generic; using System.Linq; using System.Text; using MMDAL.DTO.ItemReason; namespace MMDAL.DTO.Production { public class ProductionDetailDTO { #region PrivateMembers #region Production private int productiondetailid; //id #region Production private int productionid = -1; //Id private string productionnumber; //Number private DateTime productionreferencedate; //ReferenceDate private string productionreferencenumber; //ReferenceNumber private int productionshiftid; private string productionshiftdescription; private DateTime productiondate; #endregion private Int16 productiondetailslno; //SlNo #region Entity private int linktypeid = -1; //Id private string linktypecode; //Code private string linktypename; //Name #endregion #region ProductionPlanDetail private int productionplandetailid = -1; #endregion #region ProcessGroup private int processgroupid = -1; //Id private string processgroupprocessgroupnumber; //Number #endregion #region MMDetail private int documentdetailid = -1; //Id #endregion #region Indent private int indentdetailid = -1; //Id private int indentdetailindentid; private string indentdetailindentindentnumber; private DateTime indentdetailindentreferencedate; private DateTime indentdetailindentindentdate; private double indentdetailplannedquantity; private int indentdetailnestingplanid = -1; //Id private string indentdetailnestingplancode; #endregion #region Item private int itemid = -1; //Id private string itemcode; //Code private string itemname; //Name #endregion #region SKU private int skuid = -1; //Id private string skuname; //Name private string skucode; //SKUCODE #endregion private double productiondetailquantity; //Quantity private double productiondetailproductionquantity; //Quantity private double productiondetailgoodquantity; //Quantity private double productiondetailrejectedquantity; private double productiondetailreworkquantity; private double productiondetailotherquantity; private double productiondetailexcessshortagequantity; private double productiondetailtotalquantitydismantle; private double productiondetailprocesscost; private double productiondetailmaterialcost; private byte productiondetailstockposttype; private double productiondetailreadingfrom = 0; private double productiondetailreadingto = 0; private Int16 productiondetailstarttime = 0; private Int16 productiondetailendtime = 0; private string productiondetailcalstarttime = "00:00"; private string productiondetailcalendtime = "00:00"; #region UOM private int uomid = -1; //Id private string uomcode; //Code private string uomname; //Name #endregion #region Allocation private int allocationid = -1; //Id private string allocationname; //Name private string allocationshortname; //ShortName #endregion private double weight; private int updatestatus; #endregion private List productionprocessarray = new List(); private List productionitemsarray = new List(); private List productionstoppagearray = new List(); private List itemreasonarray = new List(); #endregion #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 #region PublicMembers #region Production public int ProductionDetailId { get { return productiondetailid; } //id set { productiondetailid = value; } //id } #region Production public int ProductionId { get { return productionid; } //Id set { productionid = value; } //Id } public string ProductionNumber { get { return productionnumber; } //Number set { productionnumber = value; } //Number } public DateTime ProductionReferenceDate { get { return productionreferencedate; } //ReferenceDate set { productionreferencedate = value; } //ReferenceDate } public string ProductionReferenceNumber { get { return productionreferencenumber; } //ReferenceNumber set { productionreferencenumber = value; } //ReferenceNumber } public int ProductionShiftId { get { return productionshiftid; } //ReferenceNumber set { productionshiftid = value; } //ReferenceNumber } public string ProductionShiftDescription { get { return productionshiftdescription; } //ReferenceNumber set { productionshiftdescription = value; } //ReferenceNumber } public DateTime ProductionDate { get { return productiondate; } //ReferenceDate set { productiondate = value; } //ReferenceDate } #endregion public Int16 ProductionDetailSlNo { get { return productiondetailslno; } //SlNo set { productiondetailslno = value; } //SlNo } #region Entity public int LinkTypeId { get { return linktypeid; } //Id set { linktypeid = value; } //Id } public string LinkTypeCode { get { return linktypecode; } //Code set { linktypecode = value; } //Code } public string LinkTypeName { get { return linktypename; } //Name set { linktypename = value; } //Name } #endregion #region ProductionPlanDetail public int ProductionPlanDetailId { get { return productionplandetailid; } //Id set { productionplandetailid = value; } //Id } #endregion #region ProcessGroup public int ProcessGroupId { get { return processgroupid; } //Id set { processgroupid = value; } //Id } public string ProcessGroupProcessGroupNumber { get { return processgroupprocessgroupnumber; } //Number set { processgroupprocessgroupnumber = value; } //Number } #endregion #region MMDetail public int DocumentDetailId { get { return documentdetailid; } //Id set { documentdetailid = value; } //Id } #endregion #region Indent public int IndentDetailId { get { return indentdetailid; } //Id set { indentdetailid = value; } //Id } public int IndentDetailIndentId { get { return indentdetailindentid; } //Id set { indentdetailindentid = value; } //Id } public string IndentDetailIndentIndentNumber { get { return indentdetailindentindentnumber; } //Id set { indentdetailindentindentnumber = value; } //Id } public DateTime IndentDetailIndentReferenceDate { get { return indentdetailindentreferencedate; } //Id set { indentdetailindentreferencedate = value; } //Id } public DateTime IndentDetailIndentIndentDate { get { return indentdetailindentindentdate; } //Id set { indentdetailindentindentdate = value; } //Id } public double IndentDetailPlannedQuantity { get { return indentdetailplannedquantity; } set { indentdetailplannedquantity = value; } } public int IndentDetailNestingPlanId { get { return indentdetailnestingplanid; } //Id set { indentdetailnestingplanid = value; } //Id } public string IndentDetailNestingPlanCode { get { return indentdetailnestingplancode; } //Id set { indentdetailnestingplancode = value; } //Id } #endregion #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 SKUName { get { return skuname; } //Name set { skuname = value; } //Name } public string SKUCode { get { return skucode; } //SKUCODE set { skucode = value; } //SKUCODE } #endregion public double ProductionDetailQuantity { get { return productiondetailquantity; } //Quantity set { productiondetailquantity = value; } //Quantity } public double ProductionDetailProductionQuantity { get { return productiondetailproductionquantity; } //Quantity set { productiondetailproductionquantity = value; } //Quantity } public double ProductionDetailGoodQuantity { get { return productiondetailgoodquantity; } //Quantity set { productiondetailgoodquantity = value; } //Quantity } public double ProductionDetailRejectedQuantity { get { return productiondetailrejectedquantity; } //Quantity set { productiondetailrejectedquantity = value; } //Quantity } public double ProductionDetailReworkQuantity { get { return productiondetailreworkquantity; } //Quantity set { productiondetailreworkquantity = value; } //Quantity } public double ProductionDetailOtherQuantity { get { return productiondetailotherquantity; } //Quantity set { productiondetailotherquantity = value; } //Quantity } public double ProductionDetailExcessShortageQuantity { get { return productiondetailexcessshortagequantity; } //ProductionDetailExcessShortageQuantity set { productiondetailexcessshortagequantity = value; } //ProductionDetailExcessShortageQuantity } public double ProductionDetailProcessCost { get { return productiondetailprocesscost; } //ProcessCost set { productiondetailprocesscost = value; } //ProcessCost } public double ProductionDetailMaterialCost { get { return productiondetailmaterialcost; } //MaterialCost set { productiondetailmaterialcost = value; } //MaterialCost } public byte ProductionDetailStockPostType { get { return productiondetailstockposttype; } //MaterialCost set { productiondetailstockposttype = value; } //MaterialCost } #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 #region Allocation public int AllocationId { get { return allocationid; } //Id set { allocationid = value; } //Id } public string AllocationName { get { return allocationname; } //Name set { allocationname = value; } //Name } public string AllocationShortName { get { return allocationshortname; } //ShortName set { allocationshortname = value; } //ShortName } #endregion public double ProductionDetailTotalQuantityDismantle { get { return productiondetailtotalquantitydismantle; } set { productiondetailtotalquantitydismantle = value; } } public double Weight { get { return weight; } //Quantity set { weight = value; } //Quantity } public int UpdateStatus { get { return updatestatus; } //id set { updatestatus = value; } //id } public double ProductionDetailReadingFrom { get { return productiondetailreadingfrom; } //ProductionDetailReadingFrom set { productiondetailreadingfrom = value; } //ProductionDetailReadingFrom } public double ProductionDetailReadingTo { get { return productiondetailreadingto; } //ProductionDetailReadingTo set { productiondetailreadingto = value; } //ProductionDetailReadingTo } public Int16 ProductionDetailStartTime { get { return productiondetailstarttime; } //ProductionDetailStartTime set { productiondetailstarttime = value; } //ProductionDetailStartTime } public Int16 ProductionDetailEndTime { get { return productiondetailendtime; } //ProductionDetailEndTime set { productiondetailendtime = value; } //ProductionDetailEndTime } public string ProductionDetailCalStartTime { get { return productiondetailcalstarttime; } //StartTime set { productiondetailcalstarttime = value; } //StartTime } public string ProductionDetailCalEndTime { get { return productiondetailcalendtime; } //StartTime set { productiondetailcalendtime = value; } //StartTime } #endregion public List ProductionProcessArray { get { return productionprocessarray; } set { productionprocessarray = value; } } public List ProductionItemsArray { get { return productionitemsarray; } set { productionitemsarray = value; } } public List ProductionStoppageArray { get { return productionstoppagearray; } set { productionstoppagearray = value; } } public List ItemReasonArray { get { return itemreasonarray; } set { itemreasonarray = 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; } } private int routingparametersetid = -1; public int RoutingParameterSetId { get { return routingparametersetid; } set { routingparametersetid = value; } } private double productiondetailoutputweight; private double productiondetailskuweight; public double ProductionDetailOutputWeight { get { return productiondetailoutputweight; } //OutputWeight set { productiondetailoutputweight = value; } //OutputWeight } public double ProductionDetailSKUWeight { get { return productiondetailskuweight; } //SKUWeight set { productiondetailskuweight = value; } //SKUWeight } private int lottypeid; private int batchtype; private decimal finalgoodqty; private int routingdetailid; public int LotTypeId { get { return lottypeid; } //LotTypeId set { lottypeid = value; } //LotTypeId } public int BatchType { get { return batchtype; } //BatchType set { batchtype = value; } //BatchType } public decimal FinalGoodQty { get { return finalgoodqty; } //FinalGoodQty set { finalgoodqty = value; } //FinalGoodQty } public int RoutingDetailId { get { return routingdetailid; } set { routingdetailid = value; } } #endregion } }