Refactored and fixed errors

This commit is contained in:
2024-08-15 23:42:18 +03:00
parent 72924fb037
commit 026a104131
21 changed files with 165 additions and 65 deletions

View File

@@ -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!;
}
}

View File

@@ -9,4 +9,4 @@ public class Name
public string Surname { get; set; } = null!;
public string? Patronymic { get; set; }
}
}

View File

@@ -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!;
}