DateTime instead of DateOnly, fixed warnings
This commit is contained in:
		| @@ -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; } | ||||
|     } | ||||
| } | ||||
|   | ||||
| @@ -9,9 +9,9 @@ namespace Domains.VisaApplicationDomain | ||||
|         public Guid Id { get; private set; } = Guid.NewGuid(); | ||||
|  | ||||
|         /// First day of <see cref="PastVisit"/> | ||||
|         public DateOnly StartDate { get; set; } | ||||
|         public DateTime StartDate { get; set; } | ||||
|  | ||||
|         /// Last day of <see cref="PastVisit"/> | ||||
|         public DateOnly EndDate { get; set; } | ||||
|         public DateTime EndDate { get; set; } | ||||
|     } | ||||
| } | ||||
|   | ||||
| @@ -5,7 +5,7 @@ | ||||
|     public class PermissionToDestCountry | ||||
|     { | ||||
|         /// Date when <see cref="PermissionToDestCountry"/> expires | ||||
|         public DateOnly ExpirationDate { get; set; } | ||||
|         public DateTime ExpirationDate { get; set; } | ||||
|  | ||||
|         /// Issuing authority | ||||
|         public string Issuer { get; set; } = null!; | ||||
|   | ||||
| @@ -8,6 +8,6 @@ | ||||
|         public string Number { get; set; } = null!; | ||||
|  | ||||
|         /// Date when <see cref="ReentryPermit"/> expires | ||||
|         public DateOnly ExpirationDate { get; set; } | ||||
|         public DateTime ExpirationDate { get; set; } | ||||
|     } | ||||
| } | ||||
|   | ||||
| @@ -43,7 +43,7 @@ namespace Domains.VisaApplicationDomain | ||||
|         public RequestedNumberOfEntries RequestedNumberOfEntries { get; set; } | ||||
|  | ||||
|         /// When application was created | ||||
|         public DateOnly RequestDate { get; set; } | ||||
|         public DateTime RequestDate { get; set; } | ||||
|  | ||||
|         /// Valid days requested | ||||
|         public int ValidDaysRequested { get; set; } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user