File tree Expand file tree Collapse file tree 3 files changed +41
-1
lines changed
ECER.Clients.RegistryPortal/ECER.Clients.RegistryPortal.Server/ICRA
ECER.Managers.Registry.Contract/ICRA Expand file tree Collapse file tree 3 files changed +41
-1
lines changed Original file line number Diff line number Diff line change @@ -71,8 +71,27 @@ public record ICRAEligibility()
7171 public string ? Id { get ; set ; }
7272 public string ApplicantId { get ; set ; } = string . Empty ;
7373 public string ? PortalStage { get ; set ; }
74-
7574 public ICRAStatus Status { get ; set ; }
75+ public IEnumerable < InternationalCertification > InternationalCertifications { get ; set ; } = Array . Empty < InternationalCertification > ( ) ;
76+ }
77+ public record InternationalCertification
78+ {
79+ public string ? CountryId { get ; set ; }
80+ public string ? NameOfRegulatoryAuthority { get ; set ; }
81+ public string ? EmailOfRegulatoryAuthority { get ; set ; }
82+ public string ? PhoneOfRegulatoryAuthority { get ; set ; }
83+ public string ? WebsiteOfRegulatoryAuthority { get ; set ; }
84+ public string ? OnlineCertificateValidationToolOfRegulatoryAuthority { get ; set ; }
85+ public CertificateStatus CertificateStatus { get ; set ; }
86+ public string ? CertificateTitle { get ; set ; }
87+ public DateTime ? IssueDate { get ; set ; }
88+ public DateTime ? ExpiryDate { get ; set ; }
89+ }
90+
91+ public enum CertificateStatus
92+ {
93+ Valid ,
94+ Expired
7695}
7796
7897public enum ICRAStatus
Original file line number Diff line number Diff line change @@ -20,6 +20,26 @@ public record ICRAEligibility()
2020 public string ? PortalStage { get ; set ; }
2121 public string ApplicantId { get ; set ; } = string . Empty ;
2222 public ICRAStatus Status { get ; set ; }
23+ public IEnumerable < InternationalCertification > InternationalCertifications { get ; set ; } = Array . Empty < InternationalCertification > ( ) ;
24+ }
25+ public record InternationalCertification
26+ {
27+ public string ? CountryId { get ; set ; }
28+ public string ? NameOfRegulatoryAuthority { get ; set ; }
29+ public string ? EmailOfRegulatoryAuthority { get ; set ; }
30+ public string ? PhoneOfRegulatoryAuthority { get ; set ; }
31+ public string ? WebsiteOfRegulatoryAuthority { get ; set ; }
32+ public string ? OnlineCertificateValidationToolOfRegulatoryAuthority { get ; set ; }
33+ public CertificateStatus CertificateStatus { get ; set ; }
34+ public string ? CertificateTitle { get ; set ; }
35+ public DateTime ? IssueDate { get ; set ; }
36+ public DateTime ? ExpiryDate { get ; set ; }
37+ }
38+
39+ public enum CertificateStatus
40+ {
41+ Valid ,
42+ Expired
2343}
2444
2545public enum ICRAStatus
Original file line number Diff line number Diff line change @@ -8,5 +8,6 @@ internal class ICRAEligibilityMapper : Profile
88 public ICRAEligibilityMapper ( )
99 {
1010 CreateMap < Contract . ICRA . ICRAEligibility , ICRAEligibility > ( ) . ReverseMap ( ) ;
11+ CreateMap < Contract . ICRA . InternationalCertification , InternationalCertification > ( ) . ReverseMap ( ) ;
1112 }
1213}
You can’t perform that action at this time.
0 commit comments