DateTime instead of DateOnly, fixed warnings

This commit is contained in:
2024-08-15 14:35:55 +03:00
parent 25a9d8f86d
commit 47509906a5
10 changed files with 14 additions and 16 deletions

View File

@@ -16,7 +16,7 @@ namespace Domains.ApplicantDomain
public Passport Passport { get; set; } = null!;
/// Date of birth of the <see cref="Applicant"/>
public DateOnly BirthDate { get; set; }
public DateTime BirthDate { get; set; }
/// <see cref="Country"/> of birth of the <see cref="Applicant"/>
public Country CountryOfBirth { get; set; } = null!;

View File

@@ -11,9 +11,9 @@
public string Issuer { get; set; } = null!;
/// Date of issue
public DateOnly IssueDate { get; set; }
public DateTime IssueDate { get; set; }
/// Date when the <see cref="Passport"/> expires
public DateOnly ExpirationDate { get; set; }
public DateTime ExpirationDate { get; set; }
}
}