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

@@ -0,0 +1,31 @@
using Domains.ApplicantDomain;
using Domains.VisaApplicationDomain;
namespace ApplicationLayer.VisaApplication;
/// Model of visa request from user
public record CreateVisaApplicationRequest(
Name FullName,
Passport Passport,
DateTime BirthDate,
string BirthCity,
string BirthCountry,
string CitizenShip,
string CitizenshipByBirth,
Gender Gender,
MaritalStatus MaritalStatus,
Name FatherName,
Name MotherName,
bool IsNonResident,
ReentryPermit ReentryPermit,
string JobTitle,
PlaceOfWork PlaceOfWork,
string DestinationCountry,
VisaCategory VisaCategory,
bool IsForGroup,
RequestedNumberOfEntries RequestedNumberOfEntries,
int ValidDaysRequested,
PastVisa[] PastVisas,
PermissionToDestCountry? PermissionToDestCountry,
PastVisit[] PastVisits
);