Создание и заполнение BindingModel
This commit is contained in:
parent
a8899463d7
commit
e7ce082fab
@ -0,0 +1,13 @@
|
||||
using HotelDataModels.Models;
|
||||
|
||||
namespace HotelContracts.BindingModels
|
||||
{
|
||||
public class ConferenceBookingBindingModel : IConferenceBookingModel
|
||||
{
|
||||
public int HeadwaiterId { get; set; }
|
||||
|
||||
public int ConferenceId { get; set; }
|
||||
|
||||
public int Id { get; set; }
|
||||
}
|
||||
}
|
15
Hotel/HotelContracts/BindingModels/DinnerBindingModel.cs
Normal file
15
Hotel/HotelContracts/BindingModels/DinnerBindingModel.cs
Normal file
@ -0,0 +1,15 @@
|
||||
using HotelDataModels.Models;
|
||||
|
||||
namespace HotelContracts.BindingModels
|
||||
{
|
||||
public class DinnerBindingModel : IDinnerModel
|
||||
{
|
||||
public string DinnerName { get; set; }
|
||||
|
||||
public double DinnetPrice { get; set; }
|
||||
|
||||
public int HeadwaiterId { get; set; }
|
||||
|
||||
public int Id { get; set; }
|
||||
}
|
||||
}
|
19
Hotel/HotelContracts/BindingModels/HeadwaiterBindingModel.cs
Normal file
19
Hotel/HotelContracts/BindingModels/HeadwaiterBindingModel.cs
Normal file
@ -0,0 +1,19 @@
|
||||
using HotelDataModels.Models;
|
||||
|
||||
namespace HotelContracts.BindingModels
|
||||
{
|
||||
public class HeadwaiterBindingModel : IHeadwaiterModel
|
||||
{
|
||||
public string HeadwaiterFIO { get; set; }
|
||||
|
||||
public string HeadwaiterPassword { get; set; }
|
||||
|
||||
public string HeadwaiterLogin { get; set; }
|
||||
|
||||
public string HeadwaiterEmail { get; set; }
|
||||
|
||||
public string HeadwaiterNumber { get; set; }
|
||||
|
||||
public int Id { get; set; }
|
||||
}
|
||||
}
|
19
Hotel/HotelContracts/BindingModels/RoomBindingModel.cs
Normal file
19
Hotel/HotelContracts/BindingModels/RoomBindingModel.cs
Normal file
@ -0,0 +1,19 @@
|
||||
using HotelDataModels.Models;
|
||||
|
||||
namespace HotelContracts.BindingModels
|
||||
{
|
||||
public class RoomBindingModel : IRoomModel
|
||||
{
|
||||
public string RoomName { get; set; }
|
||||
|
||||
public string RoomFrame { get; set; }
|
||||
|
||||
public double RoomPrice { get; set; }
|
||||
|
||||
public int HeadwaiterId { get; set; }
|
||||
|
||||
public int MealPlanId { get; set; }
|
||||
|
||||
public int Id { get; set; }
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user