using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace MMDAL.DTO.WeavingProduction { public class WeavingProductionDTO { #region PrivateMembers #region WeavingProduction private int weavingproductionid; //Id private DateTime weavingproductiondate; //Date #region OrganizationUnit private int ouid; private string oucode; private string ouname; #endregion #region BIZTransactionType private int biztransactiontypeid; //Id private string biztransactiontypecode; private string biztransactiontypename; #endregion private string weavingproductionnumber; //Number private string weavingproductionreferencenumber; //ReferenceNumber private DateTime weavingproductionreferencedate; //ReferenceDate #region WorkCenter private int workcenterid; private string workcentercode; private string workcentername; #endregion #region Process private int processid; private string processcode; private string processname; #endregion #region Shift private int shiftid; private string shiftcode; private string shiftdescription; #endregion private DateTime weavingproductionshiftstartdatetime; //ShiftStartDateTime private DateTime weavingproductionshiftenddatetime; //ShiftEndDateTime private double weavingproductiontotalcalculatedpicks; //TotalCalculatedPicks private double weavingproductiontotalcalculatedmeters; //TotalCalculatedMeters private string weavingproductionremarks; //Remarks #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 private byte allotedforprocessordespatch; #endregion #region Base private int weavingproductioncreatedbyid; //CreatedById private DateTime weavingproductioncreatedon; //CreatedOn private int weavingproductionmodifiedbyid; //ModifiedById private DateTime weavingproductionmodifiedon; //ModifiedOn #endregion #region Standard private Int16 weavingproductionsortorder; //SortOrder private byte weavingproductionstatus; //Status private Int16 weavingproductionversion; //Version #endregion private List weavingproductiondetail = new List(); #endregion #region PublicMembers #region WeavingProduction public int WeavingProductionId { get { return weavingproductionid; } //Id set { weavingproductionid = value; } //Set Restricted } public DateTime WeavingProductionDate { get { return weavingproductiondate; } //Date set { weavingproductiondate = value; } //Set Restricted } #region OrganizationUnit public int OUId { get { return ouid; } //Id set { ouid = value; } //Set Restricted } public string OUCode { get { return oucode; } //Id set { oucode = value; } //Set Restricted } public string OUName { get { return ouname; } //Id set { ouname = value; } //Set Restricted } #endregion #region BIZTransactionType public int BizTransactionTypeId { get { return biztransactiontypeid; } //Id set { biztransactiontypeid = value; } //Id } public string BizTransactionTypeCode { get { return biztransactiontypecode; } //Id set { biztransactiontypecode = value; } //Id } public string BizTransactionTypeName { get { return biztransactiontypename; } //Id set { biztransactiontypename = value; } //Id } #endregion public string WeavingProductionNumber { get { return weavingproductionnumber; } //Number set { weavingproductionnumber = value; } //Set Restricted } public string WeavingProductionReferenceNumber { get { return weavingproductionreferencenumber; } //ReferenceNumber set { weavingproductionreferencenumber = value; } //Set Restricted } public DateTime WeavingProductionReferenceDate { get { return weavingproductionreferencedate; } //ReferenceDate set { weavingproductionreferencedate = value; } //Set Restricted } #region WorkCenter public int WorkCenterId { get { return workcenterid; } //Id set { workcenterid = value; } //Set Restricted } public string WorkCenterCode { get { return workcentercode; } //Id set { workcentercode = value; } //Set Restricted } public string WorkCenterName { get { return workcentername; } //Id set { workcentername = value; } //Set Restricted } #endregion #region Process public int ProcessId { get { return processid; } //Id set { processid = value; } //Set Restricted } public string ProcessCode { get { return processcode; } //Id set { processcode = value; } //Set Restricted } public string ProcessName { get { return processname; } //Id set { processname = value; } //Set Restricted } #endregion #region Shift public int ShiftId { get { return shiftid; } //Id set { shiftid = value; } //Set Restricted } public string ShiftCode { get { return shiftcode; } //Id set { shiftcode = value; } //Set Restricted } public string ShiftDescription { get { return shiftdescription; } //Id set { shiftdescription = value; } //Set Restricted } #endregion public DateTime WeavingProductionShiftStartDateTime { get { return weavingproductionshiftstartdatetime; } //ShiftStartDateTime set { weavingproductionshiftstartdatetime = value; } //Set Restricted } public DateTime WeavingProductionShiftEndDateTime { get { return weavingproductionshiftenddatetime; } //ShiftEndDateTime set { weavingproductionshiftenddatetime = value; } //Set Restricted } public double WeavingProductionTotalCalculatedPicks { get { return weavingproductiontotalcalculatedpicks; } //TotalCalculatedPicks set { weavingproductiontotalcalculatedpicks = value; } //Set Restricted } public double WeavingProductionTotalCalculatedMeters { get { return weavingproductiontotalcalculatedmeters; } //TotalCalculatedMeters set { weavingproductiontotalcalculatedmeters = value; } //Set Restricted } public string WeavingProductionRemarks { get { return weavingproductionremarks; } //Remarks set { weavingproductionremarks = value; } //Set Restricted } #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; } } public byte AllotedForProcessOrDespatch //For Allocation Againest purpose { get { return allotedforprocessordespatch; } set { allotedforprocessordespatch = value; } } #endregion #region Base public int WeavingProductionCreatedById { get { return weavingproductioncreatedbyid; } //CreatedById set { weavingproductioncreatedbyid = value; } //CreatedById } public DateTime WeavingProductionCreatedOn { get { return weavingproductioncreatedon; } //CreatedOn set { weavingproductioncreatedon = value; } //CreatedOn } public int WeavingProductionModifiedById { get { return weavingproductionmodifiedbyid; } //ModifiedById set { weavingproductionmodifiedbyid = value; } //ModifiedById } public DateTime WeavingProductionModifiedOn { get { return weavingproductionmodifiedon; } //ModifiedOn set { weavingproductionmodifiedon = value; } //ModifiedOn } #endregion #region Standard public Int16 WeavingProductionSortOrder { get { return weavingproductionsortorder; } //SortOrder set { weavingproductionsortorder = value; } //SortOrder } public byte WeavingProductionStatus { get { return weavingproductionstatus; } //Status set { weavingproductionstatus = value; } //Status } public Int16 WeavingProductionVersion { get { return weavingproductionversion; } //Version set { weavingproductionversion = value; } //Version } #endregion public List WeavingProductionDetailArray { get { return weavingproductiondetail; } set { weavingproductiondetail = value; } } #endregion } }