DateTime instead of DateOnly, fixed warnings

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

View File

@@ -9,12 +9,12 @@ namespace Domains.VisaApplicationDomain
public Guid Id { get; private set; } = Guid.NewGuid();
/// Date of issue
public DateOnly IssueDate { get; set; }
public DateTime IssueDate { get; set; }
/// Name of visa
public string Name { get; set; } = null!;
/// Date when visa expires
public DateOnly ExpirationDate { get; set; }
public DateTime ExpirationDate { get; set; }
}
}