예제 #1
0
 public AatfData(Guid id, string name, string approvalNumber, Int16 complianceYear, UKCompetentAuthorityData competentAuthority = null, AatfStatus status = null, AatfAddressData siteAddress = null, AatfSize size = null, DateTime approvalDate = default(DateTime), PanAreaData panAreaData = null, LocalAreaData localAreaData = null)
 {
     this.Id                 = id;
     this.Name               = name;
     this.ApprovalNumber     = approvalNumber;
     this.CompetentAuthority = competentAuthority;
     this.AatfStatus         = status;
     this.SiteAddress        = siteAddress;
     this.Size               = size;
     this.ApprovalDate       = approvalDate;
     this.ComplianceYear     = complianceYear;
     this.PanAreaData        = panAreaData;
     this.LocalAreaData      = localAreaData;
 }
예제 #2
0
 public AatfDataList(Guid id, string name, UKCompetentAuthorityData competentAuthority, string approvalNumber, AatfStatus aatfStatus, OrganisationData organisation, FacilityType facilityType, Int16 complianceYear, Guid aatfId, DateTime?approvalDate)
 {
     this.Id                 = id;
     this.Name               = name;
     this.ApprovalNumber     = approvalNumber;
     this.AatfStatus         = aatfStatus;
     this.AatfStatusString   = aatfStatus.DisplayName;
     this.CompetentAuthority = competentAuthority;
     this.Organisation       = organisation;
     this.FacilityType       = facilityType;
     this.ComplianceYear     = complianceYear;
     this.AatfId             = aatfId;
     this.ApprovalDate       = approvalDate;
 }