Changed models, added Application layer models

This commit is contained in:
2024-08-15 14:54:23 +03:00
parent 1d8405b4ec
commit c1a4acf414
50 changed files with 628 additions and 647 deletions

View File

@@ -1,20 +1,17 @@
using Domains.ApplicantDomain;
namespace Domains.VisaApplicationDomain
namespace Domains.VisaApplicationDomain;
/// Visa that <see cref="Applicant"/> already had
/// <remarks>Owned</remarks>
public class PastVisa
{
/// Visa that <see cref="Applicant"/> already had
public class PastVisa : IEntity
{
/// Unique identifier of <see cref="PastVisa"/>
public Guid Id { get; private set; } = Guid.NewGuid();
/// Date of issue
public DateTime IssueDate { get; set; }
/// Date of issue
public DateTime IssueDate { get; set; }
/// Name of visa
public string Name { get; set; } = null!;
/// Name of visa
public string Name { get; set; } = null!;
/// Date when visa expires
public DateTime ExpirationDate { get; set; }
}
/// Date when visa expires
public DateTime ExpirationDate { get; set; }
}