diff --git a/Hotel/HotelContracts/HotelContracts.csproj b/Hotel/HotelContracts/HotelContracts.csproj index bf0e0ba..3b528ee 100644 --- a/Hotel/HotelContracts/HotelContracts.csproj +++ b/Hotel/HotelContracts/HotelContracts.csproj @@ -7,7 +7,6 @@ - diff --git a/Hotel/HotelContracts/SearchModels/CleaningInstrumentsSearchModel.cs b/Hotel/HotelContracts/SearchModels/CleaningInstrumentsSearchModel.cs new file mode 100644 index 0000000..1bdf0b5 --- /dev/null +++ b/Hotel/HotelContracts/SearchModels/CleaningInstrumentsSearchModel.cs @@ -0,0 +1,7 @@ +namespace HotelContracts.SearchModels; + +public class CleaningInstrumentsSearchModel +{ + public int? Id { get; set; } + public string? Type { get; set; } +} \ No newline at end of file diff --git a/Hotel/HotelContracts/SearchModels/CleaningSearchModel.cs b/Hotel/HotelContracts/SearchModels/CleaningSearchModel.cs new file mode 100644 index 0000000..e4fe628 --- /dev/null +++ b/Hotel/HotelContracts/SearchModels/CleaningSearchModel.cs @@ -0,0 +1,9 @@ +namespace HotelContracts.SearchModels; + +public class CleaningSearchModel +{ + public int? Id { get; set; } + public DateTime? From { get; set; } + public DateTime? To { get; set; } + public int? RoomId { get; set; } +} \ No newline at end of file diff --git a/Hotel/HotelContracts/SearchModels/GuestSearchModel.cs b/Hotel/HotelContracts/SearchModels/GuestSearchModel.cs new file mode 100644 index 0000000..c841943 --- /dev/null +++ b/Hotel/HotelContracts/SearchModels/GuestSearchModel.cs @@ -0,0 +1,9 @@ +namespace HotelContracts.SearchModels; + +public class GuestSearchModel +{ + public int? Id { get; set; } + public string? Name { get; set; } + public string? SecondName { get; set; } + public string? LastName { get; set; } +} \ No newline at end of file diff --git a/Hotel/HotelContracts/SearchModels/MaitreSearchModel.cs b/Hotel/HotelContracts/SearchModels/MaitreSearchModel.cs new file mode 100644 index 0000000..dae8921 --- /dev/null +++ b/Hotel/HotelContracts/SearchModels/MaitreSearchModel.cs @@ -0,0 +1,11 @@ +namespace HotelContracts.SearchModels; + +public class MaitreSearchModel +{ + public int? Id { get; set; } + public string? Name { get; set; } + public string? SecondName { get; set; } + public string? LastName { get; set; } + public string? Login { get; set; } + public string? Password { get; set; } +} \ No newline at end of file diff --git a/Hotel/HotelContracts/SearchModels/ReservationSearchModel.cs b/Hotel/HotelContracts/SearchModels/ReservationSearchModel.cs new file mode 100644 index 0000000..1fc4684 --- /dev/null +++ b/Hotel/HotelContracts/SearchModels/ReservationSearchModel.cs @@ -0,0 +1,10 @@ +namespace HotelContracts.SearchModels; + +public class ReservationSearchModel +{ + public int? Id { get; set; } + public DateTime? From { get; set; } + public DateTime? To { get; set; } + public int? GuestId { get; set; } + public int? MaitreId { get; set; } +} \ No newline at end of file diff --git a/Hotel/HotelContracts/SearchModels/RoomSearchModel.cs b/Hotel/HotelContracts/SearchModels/RoomSearchModel.cs new file mode 100644 index 0000000..a9cb0b2 --- /dev/null +++ b/Hotel/HotelContracts/SearchModels/RoomSearchModel.cs @@ -0,0 +1,8 @@ +namespace HotelContracts.SearchModels; + +public class RoomSearchModel +{ + public int? Id { get; set; } + public double? Cost { get; set; } + public string? Type { get; set; } +} \ No newline at end of file