Moved interfaces, created new folders for visa requests and handlers

This commit is contained in:
2024-08-15 18:26:14 +03:00
parent b02e30ba2a
commit 604081e047
15 changed files with 37 additions and 26 deletions

View File

@@ -0,0 +1,32 @@
using ApplicationLayer.VisaApplications.Models;
using Domains.ApplicantDomain;
using Domains.VisaApplicationDomain;
namespace ApplicationLayer.VisaApplications.Requests;
/// 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,
PlaceOfWorkModel PlaceOfWork,
string DestinationCountry,
VisaCategory VisaCategory,
bool IsForGroup,
RequestedNumberOfEntries RequestedNumberOfEntries,
int ValidDaysRequested,
PastVisa[] PastVisas,
PermissionToDestCountry? PermissionToDestCountry,
PastVisit[] PastVisits
);