Removed location entities, fixed configurations and controllers' comments

This commit is contained in:
2024-08-21 18:39:22 +03:00
parent f857ba90f8
commit 3e21a0a164
47 changed files with 111 additions and 506 deletions

View File

@@ -1,20 +1,18 @@
using Domains.LocationDomain;
namespace Domains.ApplicantDomain;
namespace Domains.ApplicantDomain;
/// Model of address
/// <remarks>Owned</remarks>
public class Address
{
/// Country part of address
public Country Country { get; set; } = null!;
public string Country { get; set; } = null!;
/// City part of address
public City City { get; set; } = null!;
public string City { get; set; } = null!;
/// Street part of address
public string Street { get; set; } = null!;
/// Building part of address
public string Building { get; set; } = null!;
}
}

View File

@@ -1,6 +1,4 @@
using Domains.LocationDomain;
namespace Domains.ApplicantDomain;
namespace Domains.ApplicantDomain;
/// Model of an applicant
public class Applicant : IEntity
@@ -19,11 +17,11 @@ public class Applicant : IEntity
/// Date of birth of the <see cref="Applicant"/>
public DateTime BirthDate { get; set; }
/// <see cref="Country"/> of birth of the <see cref="Applicant"/>
public Country CountryOfBirth { get; set; } = null!;
/// Country of birth of the <see cref="Applicant"/>
public string CountryOfBirth { get; set; } = null!;
/// <see cref="City"/> of birth of the <see cref="Applicant"/>
public City CityOfBirth { get; set; } = null!;
/// City of birth of the <see cref="Applicant"/>
public string CityOfBirth { get; set; } = null!;
/// Citizenship of <see cref="Applicant"/>
public string Citizenship { get; set; } = null!;