Refactored and fixed errors
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
using Domains.LocationDomain;
|
||||
using Domains.VisaApplicationDomain;
|
||||
|
||||
namespace Domains.ApplicantDomain;
|
||||
|
||||
@@ -50,7 +49,4 @@ public class Applicant : IEntity
|
||||
|
||||
/// Is <see cref="Applicant"/> a non-resident
|
||||
public bool IsNonResident { get; set; }
|
||||
|
||||
/// List of <see cref="Applicant"/>'s applications
|
||||
public List<VisaApplication> VisaApplications { get; set; } = null!;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -9,4 +9,4 @@ public class Name
|
||||
public string Surname { get; set; } = null!;
|
||||
|
||||
public string? Patronymic { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
using Domains.ApplicantDomain;
|
||||
using Domains.LocationDomain;
|
||||
|
||||
namespace Domains.VisaApplicationDomain;
|
||||
|
||||
@@ -11,4 +12,7 @@ public class PastVisit
|
||||
|
||||
/// Last day of <see cref="PastVisit"/>
|
||||
public DateTime EndDate { get; set; }
|
||||
|
||||
/// Destination country of <see cref="PastVisit"/>
|
||||
public Country DestinationCountry { get; set; } = null!;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user