using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace MMDAL.DTO.Inspection { public class InspectionDTO { #region PrivateMembers #region Inspection private int inspectionid; //Id private DateOnly inspectiondate; //Date #region OrganizationUnit private int ouid; private string oucode; private string ouname; #endregion #region Period private int periodid; private string periodcode; private string periodname; #endregion #region BIZTransactionType private int biztransactiontypeid; //Id private string biztransactiontypecode; private string biztransactiontypename; private int biztransactiontypebiztransactiontypeclassid; #endregion #region Party private int partyid; private string partycode; private string partyname; #endregion #region Shift private int shiftid; private string shiftcode; private string shiftname; #endregion private string inspectionreferencenumber; //ReferenceNumber private DateOnly inspectionreferencedate; //Reference Date #region WorkCenter private int workcenterid; private string workcentercode; private string workcentername; #endregion #region Store private int fromstoreid; private string fromstorecode; private string fromstorename; #endregion #region Store private int tostoreid; private string tostorecode; private string tostorename; #endregion private string inspectionnumber; //Number private int stageid; private string stagecode; private string stagename; private int inspectionareaid; //InspectionArea private string inspectionareaarea; //InspectionArea private string inspectioninspectiontype; //InspectionType (legacy varchar, kept for backward compat) private int inspectiontypeid; private string inspectiontypecode; private string inspectiontypename; #region BIZTransactionType private int loadbiztransactiontypeid; //Id #endregion #region Entity private int loadheaderobjecttypeid; private string loadheaderobjecttypecode; private string loadheaderobjecttypename; #endregion private int inspectionloadheaderobjectid; //LoadHeaderObjectId private string inspectionloadheaderobjectname; //LoadHeaderObjectId private double inspectiontotalpackquantity; //TotalPackQuantity private double inspectiontotalquantity; //TotalQuantity private string inspectionremarks; //Remarks #endregion #region Base private int inspectioncreatedbyid; //CreatedById private DateTime inspectioncreatedon; //CreatedOn private int inspectionmodifiedbyid; //ModifiedById private DateTime inspectionmodifiedon; //ModifiedOn #endregion #region Standard private Int16 inspectionsortorder; //SortOrder private byte inspectionstatus; //Status private Int16 inspectionversion; //Version private List inspectiondetail = new List(); private List inspectionworkerdetail = new List(); private List inspectionparameter = new List(); private List inspectionresult = new List(); private List inspectiondefect = new List(); #endregion #endregion #region PublicMembers #region Inspection public int InspectionId { get { return inspectionid; } //Id set { inspectionid = value; } //Set Restricted } public DateOnly InspectionDate { get { return inspectiondate; } //Date set { inspectiondate = value; } //Set Restricted } public int StageId { get { return stageid; } set { stageid = value; } } public string StageCode { get { return stagecode; } set { stagecode = value; } } public string StageName { get { return stagename; } set { stagename = value; } } #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 Period public int PeriodId { get { return periodid; } //Id set { periodid = value; } //Set Restricted } public string PeriodCode { get { return periodcode; } //Id set { periodcode = value; } //Set Restricted } public string PeriodName { get { return periodname; } //Id set { periodname = 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 } public int BizTransactionTypeBIZTransactionTypeClassId { get { return biztransactiontypebiztransactiontypeclassid; } set { biztransactiontypebiztransactiontypeclassid = value; } } #endregion #region Party public int PartyId { get { return partyid; } set { partyid = value; } } public string PartyCode { get { return partycode; } set { partycode = value; } } public string PartyName { get { return partyname; } set { partyname = value; } } #endregion #region Shift public int ShiftId { get { return shiftid; } set { shiftid = value; } } public string ShiftCode { get { return shiftcode; } set { shiftcode = value; } } public string ShiftName { get { return shiftname; } set { shiftname = value; } } #endregion public string InspectionReferenceNumber { get { return inspectionreferencenumber; } //ReferenceNumber set { inspectionreferencenumber = value; } //Set Restricted } public DateOnly InspectionReferenceDate { get { return inspectionreferencedate; } //Reference Date set { inspectionreferencedate = 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 Store public int FromStoreId { get { return fromstoreid; } //Id set { fromstoreid = value; } //Set Restricted } public string FromStoreCode { get { return fromstorecode; } //Id set { fromstorecode = value; } //Set Restricted } public string FromStoreName { get { return fromstorename; } //Id set { fromstorename = value; } //Set Restricted } #endregion #region Store public int ToStoreId { get { return tostoreid; } //Id set { tostoreid = value; } //Set Restricted } public string ToStoreCode { get { return tostorecode; } //Id set { tostorecode = value; } //Set Restricted } public string ToStoreName { get { return tostorename; } //Id set { tostorename = value; } //Set Restricted } #endregion public string InspectionNumber { get { return inspectionnumber; } //Number set { inspectionnumber = value; } //Set Restricted } public int InspectionAreaId { get { return inspectionareaid; } //InspectionArea set { inspectionareaid = value; } //Set Restricted } public string InspectionAreaArea { get { return inspectionareaarea; } //InspectionArea set { inspectionareaarea = value; } //Set Restricted } public string InspectionInspectionType { get { return inspectioninspectiontype; } set { inspectioninspectiontype = value; } } public int InspectionTypeId { get { return inspectiontypeid; } set { inspectiontypeid = value; } } public string InspectionTypeCode { get { return inspectiontypecode; } set { inspectiontypecode = value; } } public string InspectionTypeName { get { return inspectiontypename; } set { inspectiontypename = value; } } #region BIZTransactionType public int LoadBizTransactionTypeId { get { return loadbiztransactiontypeid; } //Id set { loadbiztransactiontypeid = value; } //Id } #endregion #region Entity public int LoadHeaderObjectTypeId { get { return loadheaderobjecttypeid; } //Id set { loadheaderobjecttypeid = value; } //Id } public string LoadHeaderObjectTypeCode { get { return loadheaderobjecttypecode; } //Id set { loadheaderobjecttypecode = value; } //Id } public string LoadHeaderObjectTypeName { get { return loadheaderobjecttypename; } //Id set { loadheaderobjecttypename = value; } //Id } #endregion public int InspectionLoadHeaderObjectId { get { return inspectionloadheaderobjectid; } //LoadHeaderObjectId set { inspectionloadheaderobjectid = value; } //Set Restricted } public string InspectionLoadHeaderObjectName { get { return inspectionloadheaderobjectname; } //LoadHeaderObjectId set { inspectionloadheaderobjectname = value; } //Set Restricted } public double InspectionTotalPackQuantity { get { return inspectiontotalpackquantity; } //TotalPackQuantity set { inspectiontotalpackquantity = value; } //Set Restricted } public double InspectionTotalQuantity { get { return inspectiontotalquantity; } //TotalQuantity set { inspectiontotalquantity = value; } //Set Restricted } public string InspectionRemarks { get { return inspectionremarks; } //Remarks set { inspectionremarks = value; } //Set Restricted } #endregion #region Base public int InspectionCreatedById { get { return inspectioncreatedbyid; } //CreatedById set { inspectioncreatedbyid = value; } //CreatedById } public DateTime InspectionCreatedOn { get { return inspectioncreatedon; } //CreatedOn set { inspectioncreatedon = value; } //CreatedOn } public int InspectionModifiedById { get { return inspectionmodifiedbyid; } //ModifiedById set { inspectionmodifiedbyid = value; } //ModifiedById } public DateTime InspectionModifiedOn { get { return inspectionmodifiedon; } //ModifiedOn set { inspectionmodifiedon = value; } //ModifiedOn } #endregion #region Standard public Int16 InspectionSortOrder { get { return inspectionsortorder; } //SortOrder set { inspectionsortorder = value; } //SortOrder } public byte InspectionStatus { get { return inspectionstatus; } //Status set { inspectionstatus = value; } //Status } public Int16 InspectionVersion { get { return inspectionversion; } //Version set { inspectionversion = value; } //Version } #endregion public List InspectionDetailArray { get { return inspectiondetail; } set { inspectiondetail = value; } } public List InspectionWorkerDetailArray { get { return inspectionworkerdetail; } set { inspectionworkerdetail = value; } } public List InspectionParameterArray { get { return inspectionparameter; } set { inspectionparameter = value; } } public List InspectionResultArray { get { return inspectionresult; } set { inspectionresult = value; } } public List InspectionDefectArray { get { return inspectiondefect; } set { inspectiondefect = value; } } #endregion } }