using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace FMDAL.DTO.Incident { public class IncidentDTO { #region PrivateMembers #region Incident private int incidentid; #region OrganizationUnit private int organizationunitid; private string organizationunitcode; private string organizationunitname; #endregion #region BizTransactionType private int biztransactiontypeid; private string biztransactiontypecode; private string biztransactiontypename; #endregion private string incidentincidentnumber; //Incident Number private DateTime incidentincidentdate; //Incident Date private string incidentincidenttime; //Incident Time private byte incidentlocationtype; #region PartyBranch private int partybranchid; private string partybranchcode; private string partybranchname; #endregion #region Address private int addressid; private string addresscode; private string addressname; #endregion private string incidentincidentat; //Incident At private string incidentdescription; //Incident Description private byte incidentismajor; //Is Major private byte incidentisinformed; //Is Informed private DateTime incidentreporteddate; //Reported Date private string incidentreportedtime; //Reported Time private string incidentreportedby; //Reported By private string incidentreportedcontact; //Reported Contact #region User private int inchargeid; private string inchargecode; private string inchargename; #endregion private byte incidentiscontractorsinvolved; //Is Contractors Involved private string incidentcontractorrole; //Contractor Role private string incidentservicesrole; //Services Role private string incidentcause; //Cause private byte incidentriskrating; //Risk Rating private byte incidentrecurrence; //Recurrence private string incidentprevention; //Prevention #region Base private int incidentcreatedbyid; //CreatedById private DateTime incidentcreatedon; //CreatedOn private int incidentmodifiedbyid; //ModifiedById private DateTime incidentmodifiedon; //ModifiedOn #endregion #region Standard private byte incidentstatus; //Status private Int16 incidentversion; //Version #endregion private List incidentdetaildtos; private List incidentoptiondtos; private byte incidentcategory; //Incident Category #region PartyBranchLocation private int partybranchlocationid; private string partybranchlocationcode; private string partybranchlocationname; #endregion #region Asset private int assetid; private string assetcode; private string assetname; #endregion #endregion #endregion #region PublicMembers #region Incident public int IncidentId { get { return incidentid; } //Id set { incidentid = value; } //Id } #region OrganizationUnit public int OrganizationUnitId { get { return organizationunitid; } set { organizationunitid = value; } } public string OrganizationUnitCode { get { return organizationunitcode; } set { organizationunitcode = value; } } public string OrganizationUnitName { get { return organizationunitname; } set { organizationunitname = value; } } #endregion #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 public string IncidentIncidentNumber { get { return incidentincidentnumber; } //Incident Number set { incidentincidentnumber = value; } //Incident Number } public DateTime IncidentIncidentDate { get { return incidentincidentdate; } //Incident Date set { incidentincidentdate = value; } //Incident Date } public string IncidentIncidentTime { get { return incidentincidenttime; } //Incident Time set { incidentincidenttime = value; } //Incident Time } public byte IncidentLocationType { get { return incidentlocationtype; } //Location Type set { incidentlocationtype = value; } //Location Type } #region PartyBranch public int PartyBranchId { get { return partybranchid; } //Party Branch set { partybranchid = value; } //Party Branch } public string PartyBranchCode { get { return partybranchcode; } //Party Branch set { partybranchcode = value; } //Party Branch } public string PartyBranchName { get { return partybranchname; } //Party Branch set { partybranchname = value; } //Party Branch } #endregion #region Address public int AddressId { get { return addressid; } set { addressid = value; } } public string AddressCode { get { return addresscode; } set { addresscode = value; } } public string AddressName { get { return addressname; } set { addressname = value; } } #endregion public string IncidentIncidentAt { get { return incidentincidentat; } //Incident At set { incidentincidentat = value; } //Incident At } public string IncidentDescription { get { return incidentdescription; } //Incident Description set { incidentdescription = value; } //Incident At } public byte IncidentIsMajor { get { return incidentismajor; } //Is Major set { incidentismajor = value; } //Is Major } public byte IncidentIsInformed { get { return incidentisinformed; } //Is Informed set { incidentisinformed = value; } //Is Informed } public DateTime IncidentReportedDate { get { return incidentreporteddate; } //Reported Date set { incidentreporteddate = value; } //Reported Date } public string IncidentReportedTime { get { return incidentreportedtime; } //Reported Time set { incidentreportedtime = value; } //Reported Time } public string IncidentReportedBy { get { return incidentreportedby; } //Reported By set { incidentreportedby = value; } //Reported By } public string IncidentReportedContact { get { return incidentreportedcontact; } //Reported Contact set { incidentreportedcontact = value; } //Reported Contact } #region User public int InchargeId { get { return inchargeid; } //Incharge set { inchargeid = value; } //Incharge } public string InchargeCode { get { return inchargecode; } //Incharge set { inchargecode = value; } //Incharge } public string InchargeName { get { return inchargename; } //Incharge set { inchargename = value; } //Incharge } #endregion public byte IncidentIsContractorsInvolved { get { return incidentiscontractorsinvolved; } //Is Contractors Involved set { incidentiscontractorsinvolved = value; } //Is Contractors Involved } public string IncidentContractorRole { get { return incidentcontractorrole; } //Contractor Role set { incidentcontractorrole = value; } //Contractor Role } public string IncidentServicesRole { get { return incidentservicesrole; } //Services Role set { incidentservicesrole = value; } //Services Role } public string IncidentCause { get { return incidentcause; } //Cause set { incidentcause = value; } //Cause } public byte IncidentRiskRating { get { return incidentriskrating; } //Risk Rating set { incidentriskrating = value; } //Risk Rating } public byte IncidentRecurrence { get { return incidentrecurrence; } //Recurrence set { incidentrecurrence = value; } //Recurrence } public string IncidentPrevention { get { return incidentprevention; } //Prevention set { incidentprevention = value; } //Prevention } #region Base public int IncidentCreatedById { get { return incidentcreatedbyid; } //CreatedById set { incidentcreatedbyid = value; } //CreatedById } public DateTime IncidentCreatedOn { get { return incidentcreatedon; } //CreatedOn set { incidentcreatedon = value; } //CreatedOn } public int IncidentModifiedById { get { return incidentmodifiedbyid; } //ModifiedById set { incidentmodifiedbyid = value; } //ModifiedById } public DateTime IncidentModifiedOn { get { return incidentmodifiedon; } //ModifiedOn set { incidentmodifiedon = value; } //ModifiedOn } #endregion #region Standard public byte TaskStatus { get { return incidentstatus; } //Status set { incidentstatus = value; } //Status } public Int16 TaskVersion { get { return incidentversion; } //Version set { incidentversion = value; } //Version } #endregion public List IncidentDetailDTOs { get { return incidentdetaildtos; } set { incidentdetaildtos = value; } } public List IncidentOptionDTOs { get { return incidentoptiondtos; } set { incidentoptiondtos = value; } } public byte IncidentCategory { get { return incidentcategory; } //Incident Category set { incidentcategory = value; } //Incident Category } #region PartyBranchLocation public int PartyBranchLocationId { get { return partybranchlocationid; } //PartyBranchLocationId set { partybranchlocationid = value; } //PartyBranchLocationId } public string PartyBranchLocationCode { get { return partybranchlocationcode; } //PartyBranchLocationCode set { partybranchlocationcode = value; } //PartyBranchLocationCode } public string PartyBranchLocationName { get { return partybranchlocationname; } //PartyBranchLocationName set { partybranchlocationname = value; } //PartyBranchLocationName } #endregion #region Asset public int AssetId { get { return assetid; } //AssetId set { assetid = value; } //AssetId } public string AssetCode { get { return assetcode; } //AssetCode set { assetcode = value; } //AssetCode } public string AssetName { get { return assetname; } //AssetName set { assetname = value; } //AssetName } #endregion #endregion #endregion } }