using System; using System.Collections.Generic; namespace MMDAL.DTO.NDTReport { public class NDTReportDTO { private int ndtreportid; private int ndtreportouid; private int ndtreportperiodid; private int ndtreportbiztransactionid; private int ndtreportndtmethodid; private string ndtreportndtmethodname; private int ndtreportparameterset; private string ndtreportreportno; private DateOnly ndtreportreportdate; private string ndtreportreferenceno; private DateOnly ndtreportreferencedate; private DateOnly ndtreporttestdate; private int ndtreportcustomerid; private string ndtreportcustomername; private int ndtreportheadid; private int ndtreportndtobjecttypeid; private string ndtreportndtobjecttypename; private int ndtreportndtobjectid; private int ndtreportstageoftestid; private string ndtreportstageoftestname; private int ndtreportsurfaceconditionid; private string ndtreportsurfaceconditionname; private int ndtreportacceptancestandardid; private string ndtreportacceptancestandardname; private string ndtreportprocedurereference; private DateOnly? ndtreportteststartdatetime; private DateOnly? ndtreporttestenddatetime; private decimal ndtreporttotaltesthours; private byte ndtreportisthirdparty; private int ndtreportndtagencyid; private string ndtreportndtagencyname; private int ndtreporttestedbyid; private string ndtreporttestedbyname; private int ndtreportwitnessedbyid; private string ndtreportwitnessedbyname; private int ndtreportapprovedbyid; private string ndtreportapprovedbyname; private string ndtreportcertificationlevel; private byte ndtreportoverallresult; private string ndtreportremarks; // Newly added fields private byte ndtreporttypeoftest; private byte ndtreportmagneticmethod; private byte ndtreporttypeofmagnetisation; private byte ndtreportdemagnetization; private byte ndtreportmagnetizationmedium; private byte ndtreportlptmethod; private byte ndtreportapplicationofpenetrant; private byte ndtreportradiationsource; private byte ndtreportutmethod; private byte ndtreportprobetype; // MT - Magnetic Testing private string ndtreportmagnetizingcurrent; private string ndtreportequipmentdetails; private int? ndtreportprodspacingmm; private int? ndtreportmaterialthicknessmm; private string ndtreportlightequipment; private int? ndtreportlightingintensity; private int? ndtreporttemperature; // LPT - Liquid Penetrant Testing private int? ndtreportjobthickness; private int? ndtreporttimingdetails; private int? ndtreportpenetrationtime; private int? ndtreportdwelltime; private int? ndtreportdevelopmenttime; private int? ndtreportilluminationlight; private string ndtreportpenetrant; private string ndtreportpenetrantbatchno; private string ndtreportdeveloper; private string ndtreportdeveloperbatchno; private string ndtreportcleaner; private string ndtreportcleanerbatchno; private string ndtreportlightingequipment; private string ndtreportcleaningmethod; // RT - Radiographic Testing private string ndtreportequipmentmakemodel; private int? ndtreportsourcesize; private int? ndtreportenergy; private string ndtreportfilmtypebrand; private int? ndtreportsfd; private string ndtreportiqitypesensitivity; private int? ndtreportexposuretime; private string ndtreportdevelopmentprocess; // VT / KT - General Inspection private int? ndtreportlightingintensityvt; private string ndtreportprocedureref; // UT - Ultrasonic Testing private string ndtreportapparatusmake; private string ndtreportmodel; private string ndtreportserialno; private string ndtreportareasofcoverage; private string ndtreportcouplantused; private string ndtreportcalibrationblock; private int? ndtreportsizemm; private int? ndtreportrangemm; private int? ndtreportfrequencymhz; private int? ndtreportgaindb; #region Standard private short ndtreportsortorder; private byte ndtreportstatus; private short ndtreportversion; private byte ndtreportsourcetype; #endregion #region Base private int ndtreportcreatedbyid; private DateTime ndtreportcreatedon; private string ndtreportcreatedbyname; private int ndtreportmodifiedbyid; private DateTime ndtreportmodifiedon; private string ndtreportmodifiedbyname; #endregion #region Children private IList ndtconditionparamarray; private IList ndtitemresultarray; #endregion // Properties for existing fields public int NDTReportId { get { return ndtreportid; } set { ndtreportid = value; } } public int NDTReportOuId { get { return ndtreportouid; } set { ndtreportouid = value; } } public int NDTReportPeriodId { get { return ndtreportperiodid; } set { ndtreportperiodid = value; } } public int NDTReportBizTransactionId { get { return ndtreportbiztransactionid; } set { ndtreportbiztransactionid = value; } } public int NDTReportNdtMethodId { get { return ndtreportndtmethodid; } set { ndtreportndtmethodid = value; } } public string NDTReportNdtMethodName { get { return ndtreportndtmethodname; } set { ndtreportndtmethodname = value; } } public int NDTReportParameterSet { get { return ndtreportparameterset; } set { ndtreportparameterset = value; } } public string NDTReportReportNo { get { return ndtreportreportno; } set { ndtreportreportno = value; } } public DateOnly NDTReportReportDate { get { return ndtreportreportdate; } set { ndtreportreportdate = value; } } public string NDTReportReferenceNo { get { return ndtreportreferenceno; } set { ndtreportreferenceno = value; } } public DateOnly NDTReportReferenceDate { get { return ndtreportreferencedate; } set { ndtreportreferencedate = value; } } public DateOnly NDTReportTestDate { get { return ndtreporttestdate; } set { ndtreporttestdate = value; } } public int NDTReportCustomerId { get { return ndtreportcustomerid; } set { ndtreportcustomerid = value; } } public string NDTReportCustomerName { get { return ndtreportcustomername; } set { ndtreportcustomername = value; } } public int NDTReportHeatId { get { return ndtreportheadid; } set { ndtreportheadid = value; } } public int NDTReportNdtObjectTypeId { get { return ndtreportndtobjecttypeid; } set { ndtreportndtobjecttypeid = value; } } public string NDTReportNdtObjectTypeName { get { return ndtreportndtobjecttypename; } set { ndtreportndtobjecttypename = value; } } public int NDTReportNdtObjectId { get { return ndtreportndtobjectid; } set { ndtreportndtobjectid = value; } } public int NDTReportStageOfTestId { get { return ndtreportstageoftestid; } set { ndtreportstageoftestid = value; } } public string NDTReportStageOfTestName { get { return ndtreportstageoftestname; } set { ndtreportstageoftestname = value; } } public int NDTReportSurfaceConditionId { get { return ndtreportsurfaceconditionid; } set { ndtreportsurfaceconditionid = value; } } public string NDTReportSurfaceConditionName { get { return ndtreportsurfaceconditionname; } set { ndtreportsurfaceconditionname = value; } } public int NDTReportAcceptanceStandardId { get { return ndtreportacceptancestandardid; } set { ndtreportacceptancestandardid = value; } } public string NDTReportAcceptanceStandardName { get { return ndtreportacceptancestandardname; } set { ndtreportacceptancestandardname = value; } } public string NDTReportProcedureReference { get { return ndtreportprocedurereference; } set { ndtreportprocedurereference = value; } } public DateOnly? NDTReportTestStartDateTime { get { return ndtreportteststartdatetime; } set { ndtreportteststartdatetime = value; } } public DateOnly? NDTReportTestEndDateTime { get { return ndtreporttestenddatetime; } set { ndtreporttestenddatetime = value; } } public decimal NDTReportTotalTestHours { get { return ndtreporttotaltesthours; } set { ndtreporttotaltesthours = value; } } public byte NDTReportIsThirdParty { get { return ndtreportisthirdparty; } set { ndtreportisthirdparty = value; } } public int NDTReportNdtAgencyId { get { return ndtreportndtagencyid; } set { ndtreportndtagencyid = value; } } public string NDTReportNdtAgencyName { get { return ndtreportndtagencyname; } set { ndtreportndtagencyname = value; } } public int NDTReportTestedById { get { return ndtreporttestedbyid; } set { ndtreporttestedbyid = value; } } public string NDTReportTestedByName { get { return ndtreporttestedbyname; } set { ndtreporttestedbyname = value; } } public int NDTReportWitnessedById { get { return ndtreportwitnessedbyid; } set { ndtreportwitnessedbyid = value; } } public string NDTReportWitnessedByName { get { return ndtreportwitnessedbyname; } set { ndtreportwitnessedbyname = value; } } public int NDTReportApprovedById { get { return ndtreportapprovedbyid; } set { ndtreportapprovedbyid = value; } } public string NDTReportApprovedByName { get { return ndtreportapprovedbyname; } set { ndtreportapprovedbyname = value; } } public string NDTReportCertificationLevel { get { return ndtreportcertificationlevel; } set { ndtreportcertificationlevel = value; } } public byte NDTReportOverallResult { get { return ndtreportoverallresult; } set { ndtreportoverallresult = value; } } public string NDTReportRemarks { get { return ndtreportremarks; } set { ndtreportremarks = value; } } // Properties for newly added fields public byte NDTReportTypeOfTest { get { return ndtreporttypeoftest; } set { ndtreporttypeoftest = value; } } public byte NDTReportMagneticMethod { get { return ndtreportmagneticmethod; } set { ndtreportmagneticmethod = value; } } public byte NDTReportTypeOfMagnetisation { get { return ndtreporttypeofmagnetisation; } set { ndtreporttypeofmagnetisation = value; } } public byte NDTReportDemagnetization { get { return ndtreportdemagnetization; } set { ndtreportdemagnetization = value; } } public byte NDTReportMagnetizationMedium { get { return ndtreportmagnetizationmedium; } set { ndtreportmagnetizationmedium = value; } } public byte NDTReportLptMethod { get { return ndtreportlptmethod; } set { ndtreportlptmethod = value; } } public byte NDTReportApplicationOfPenetrant { get { return ndtreportapplicationofpenetrant; } set { ndtreportapplicationofpenetrant = value; } } public byte NDTReportRadiationSource { get { return ndtreportradiationsource; } set { ndtreportradiationsource = value; } } public byte NDTReportUtMethod { get { return ndtreportutmethod; } set { ndtreportutmethod = value; } } public byte NDTReportProbeType { get { return ndtreportprobetype; } set { ndtreportprobetype = value; } } // MT Properties public string NDTReportMagnetizingCurrent { get { return ndtreportmagnetizingcurrent; } set { ndtreportmagnetizingcurrent = value; } } public string NDTReportEquipmentDetails { get { return ndtreportequipmentdetails; } set { ndtreportequipmentdetails = value; } } public int? NDTReportProdSpacingMM { get { return ndtreportprodspacingmm; } set { ndtreportprodspacingmm = value; } } public int? NDTReportMaterialThicknessMM { get { return ndtreportmaterialthicknessmm; } set { ndtreportmaterialthicknessmm = value; } } public string NDTReportLightEquipment { get { return ndtreportlightequipment; } set { ndtreportlightequipment = value; } } public int? NDTReportLightingIntensity { get { return ndtreportlightingintensity; } set { ndtreportlightingintensity = value; } } public int? NDTReportTemperature { get { return ndtreporttemperature; } set { ndtreporttemperature = value; } } // LPT Properties public int? NDTReportJobThickness { get { return ndtreportjobthickness; } set { ndtreportjobthickness = value; } } public int? NDTReportTimingDetails { get { return ndtreporttimingdetails; } set { ndtreporttimingdetails = value; } } public int? NDTReportPenetrationTime { get { return ndtreportpenetrationtime; } set { ndtreportpenetrationtime = value; } } public int? NDTReportDwellTime { get { return ndtreportdwelltime; } set { ndtreportdwelltime = value; } } public int? NDTReportDevelopmentTime { get { return ndtreportdevelopmenttime; } set { ndtreportdevelopmenttime = value; } } public int? NDTReportIlluminationLight { get { return ndtreportilluminationlight; } set { ndtreportilluminationlight = value; } } public string NDTReportPenetrant { get { return ndtreportpenetrant; } set { ndtreportpenetrant = value; } } public string NDTReportPenetrantBatchNo { get { return ndtreportpenetrantbatchno; } set { ndtreportpenetrantbatchno = value; } } public string NDTReportDeveloper { get { return ndtreportdeveloper; } set { ndtreportdeveloper = value; } } public string NDTReportDeveloperBatchNo { get { return ndtreportdeveloperbatchno; } set { ndtreportdeveloperbatchno = value; } } public string NDTReportCleaner { get { return ndtreportcleaner; } set { ndtreportcleaner = value; } } public string NDTReportCleanerBatchNo { get { return ndtreportcleanerbatchno; } set { ndtreportcleanerbatchno = value; } } public string NDTReportLightingEquipment { get { return ndtreportlightingequipment; } set { ndtreportlightingequipment = value; } } public string NDTReportCleaningMethod { get { return ndtreportcleaningmethod; } set { ndtreportcleaningmethod = value; } } // RT Properties public string NDTReportEquipmentMakeModel { get { return ndtreportequipmentmakemodel; } set { ndtreportequipmentmakemodel = value; } } public int? NDTReportSourceSize { get { return ndtreportsourcesize; } set { ndtreportsourcesize = value; } } public int? NDTReportEnergy { get { return ndtreportenergy; } set { ndtreportenergy = value; } } public string NDTReportFilmTypeBrand { get { return ndtreportfilmtypebrand; } set { ndtreportfilmtypebrand = value; } } public int? NDTReportSFD { get { return ndtreportsfd; } set { ndtreportsfd = value; } } public string NDTReportIQITypeSensitivity { get { return ndtreportiqitypesensitivity; } set { ndtreportiqitypesensitivity = value; } } public int? NDTReportExposureTime { get { return ndtreportexposuretime; } set { ndtreportexposuretime = value; } } public string NDTReportDevelopmentProcess { get { return ndtreportdevelopmentprocess; } set { ndtreportdevelopmentprocess = value; } } // VT/KT Properties public int? NDTReportLightingIntensityVT { get { return ndtreportlightingintensityvt; } set { ndtreportlightingintensityvt = value; } } public string NDTReportProcedureRef { get { return ndtreportprocedureref; } set { ndtreportprocedureref = value; } } // UT Properties public string NDTReportApparatusMake { get { return ndtreportapparatusmake; } set { ndtreportapparatusmake = value; } } public string NDTReportModel { get { return ndtreportmodel; } set { ndtreportmodel = value; } } public string NDTReportSerialNo { get { return ndtreportserialno; } set { ndtreportserialno = value; } } public string NDTReportAreasOfCoverage { get { return ndtreportareasofcoverage; } set { ndtreportareasofcoverage = value; } } public string NDTReportCouplantUsed { get { return ndtreportcouplantused; } set { ndtreportcouplantused = value; } } public string NDTReportCalibrationBlock { get { return ndtreportcalibrationblock; } set { ndtreportcalibrationblock = value; } } public int? NDTReportSizeMM { get { return ndtreportsizemm; } set { ndtreportsizemm = value; } } public int? NDTReportRangeMM { get { return ndtreportrangemm; } set { ndtreportrangemm = value; } } public int? NDTReportFrequencyMHz { get { return ndtreportfrequencymhz; } set { ndtreportfrequencymhz = value; } } public int? NDTReportGainDB { get { return ndtreportgaindb; } set { ndtreportgaindb = value; } } #region Standard public short NDTReportSortOrder { get { return ndtreportsortorder; } set { ndtreportsortorder = value; } } public byte NDTReportStatus { get { return ndtreportstatus; } set { ndtreportstatus = value; } } public short NDTReportVersion { get { return ndtreportversion; } set { ndtreportversion = value; } } public byte NDTReportSourceType { get { return ndtreportsourcetype; } set { ndtreportsourcetype = value; } } #endregion #region Base public int NDTReportCreatedById { get { return ndtreportcreatedbyid; } set { ndtreportcreatedbyid = value; } } public DateTime NDTReportCreatedOn { get { return ndtreportcreatedon; } set { ndtreportcreatedon = value; } } public string NDTReportCreatedByName { get { return ndtreportcreatedbyname; } set { ndtreportcreatedbyname = value; } } public int NDTReportModifiedById { get { return ndtreportmodifiedbyid; } set { ndtreportmodifiedbyid = value; } } public string NDTReportAcceptanceStandard { get; set; } public DateTime NDTReportModifiedOn { get { return ndtreportmodifiedon; } set { ndtreportmodifiedon = value; } } public string NDTReportModifiedByName { get { return ndtreportmodifiedbyname; } set { ndtreportmodifiedbyname = value; } } #endregion #region Children public IList NDTConditionParamArray { get { return ndtconditionparamarray ?? (ndtconditionparamarray = new List()); } set { ndtconditionparamarray = value; } } public IList NDTItemResultArray { get { return ndtitemresultarray ?? (ndtitemresultarray = new List()); } set { ndtitemresultarray = value; } } #endregion } }