Add search models
This commit is contained in:
parent
c4b5f00cb8
commit
b70c7287e1
@ -7,7 +7,6 @@
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Folder Include="SearchModels" />
|
||||
<Folder Include="StoragesContracts" />
|
||||
</ItemGroup>
|
||||
|
||||
|
@ -0,0 +1,7 @@
|
||||
namespace HotelContracts.SearchModels;
|
||||
|
||||
public class CleaningInstrumentsSearchModel
|
||||
{
|
||||
public int? Id { get; set; }
|
||||
public string? Type { get; set; }
|
||||
}
|
9
Hotel/HotelContracts/SearchModels/CleaningSearchModel.cs
Normal file
9
Hotel/HotelContracts/SearchModels/CleaningSearchModel.cs
Normal file
@ -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; }
|
||||
}
|
9
Hotel/HotelContracts/SearchModels/GuestSearchModel.cs
Normal file
9
Hotel/HotelContracts/SearchModels/GuestSearchModel.cs
Normal file
@ -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; }
|
||||
}
|
11
Hotel/HotelContracts/SearchModels/MaitreSearchModel.cs
Normal file
11
Hotel/HotelContracts/SearchModels/MaitreSearchModel.cs
Normal file
@ -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; }
|
||||
}
|
10
Hotel/HotelContracts/SearchModels/ReservationSearchModel.cs
Normal file
10
Hotel/HotelContracts/SearchModels/ReservationSearchModel.cs
Normal file
@ -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; }
|
||||
}
|
8
Hotel/HotelContracts/SearchModels/RoomSearchModel.cs
Normal file
8
Hotel/HotelContracts/SearchModels/RoomSearchModel.cs
Normal file
@ -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; }
|
||||
}
|
Loading…
Reference in New Issue
Block a user