File tree Expand file tree Collapse file tree 4 files changed +22
-0
lines changed
ECER.Clients.RegistryPortal/ECER.Clients.RegistryPortal.Server/ICRA
ECER.Managers.Registry.Contract/ICRA Expand file tree Collapse file tree 4 files changed +22
-0
lines changed Original file line number Diff line number Diff line change @@ -78,6 +78,7 @@ public record ICRAEligibility()
7878
7979 public ICRAStatus Status { get ; set ; }
8080 public IEnumerable < InternationalCertification > InternationalCertifications { get ; set ; } = Array . Empty < InternationalCertification > ( ) ;
81+ public IEnumerable < EmploymentReference > EmploymentReferences { get ; set ; } = Array . Empty < EmploymentReference > ( ) ;
8182}
8283public record InternationalCertification
8384{
@@ -107,6 +108,15 @@ public enum CertificateStatus
107108 Expired
108109}
109110
111+ public record EmploymentReference
112+ {
113+ public string ? Id { get ; set ; }
114+ public string ? LastName { get ; set ; }
115+ public string ? FirstName { get ; set ; }
116+ public string ? EmailAddress { get ; set ; }
117+ public string ? PhoneNumber { get ; set ; }
118+ }
119+
110120public enum ICRAStatus
111121{
112122 Active ,
Original file line number Diff line number Diff line change @@ -12,5 +12,6 @@ public ICRAEligibilityMapper()
1212
1313 CreateMap < InternationalCertification , Managers . Registry . Contract . ICRA . InternationalCertification > ( )
1414 . ReverseMap ( ) ;
15+ CreateMap < EmploymentReference , Managers . Registry . Contract . ICRA . EmploymentReference > ( ) . ReverseMap ( ) ;
1516 }
1617}
Original file line number Diff line number Diff line change @@ -22,6 +22,7 @@ public record ICRAEligibility()
2222 public DateTime ? CreatedOn { get ; set ; }
2323 public ICRAStatus Status { get ; set ; }
2424 public IEnumerable < InternationalCertification > InternationalCertifications { get ; set ; } = Array . Empty < InternationalCertification > ( ) ;
25+ public IEnumerable < EmploymentReference > EmploymentReferences { get ; set ; } = Array . Empty < EmploymentReference > ( ) ;
2526}
2627public record InternationalCertification
2728{
@@ -45,6 +46,15 @@ public record InternationalCertification
4546 public IEnumerable < string > NewFiles { get ; set ; } = Array . Empty < string > ( ) ;
4647}
4748
49+ public record EmploymentReference
50+ {
51+ public string ? Id { get ; set ; }
52+ public string ? LastName { get ; set ; }
53+ public string ? FirstName { get ; set ; }
54+ public string ? EmailAddress { get ; set ; }
55+ public string ? PhoneNumber { get ; set ; }
56+ }
57+
4858public enum CertificateStatus
4959{
5060 Valid ,
Original file line number Diff line number Diff line change @@ -9,5 +9,6 @@ public ICRAEligibilityMapper()
99 {
1010 CreateMap < Contract . ICRA . ICRAEligibility , ICRAEligibility > ( ) . ReverseMap ( ) ;
1111 CreateMap < Contract . ICRA . InternationalCertification , InternationalCertification > ( ) . ReverseMap ( ) ;
12+ CreateMap < Contract . ICRA . EmploymentReference , Resources . Documents . ICRA . EmploymentReference > ( ) . ReverseMap ( ) ;
1213 }
1314}
You can’t perform that action at this time.
0 commit comments