From e7ce082fab019526ef2ff2fea91c079cc33651ea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9A=D0=B0=D1=88=D0=B8=D0=BD=20=D0=9C=D0=B0=D0=BA=D1=81?= =?UTF-8?q?=D0=B8=D0=BC?= Date: Sat, 1 Apr 2023 18:54:35 +0400 Subject: [PATCH] =?UTF-8?q?=D0=A1=D0=BE=D0=B7=D0=B4=D0=B0=D0=BD=D0=B8?= =?UTF-8?q?=D0=B5=20=D0=B8=20=D0=B7=D0=B0=D0=BF=D0=BE=D0=BB=D0=BD=D0=B5?= =?UTF-8?q?=D0=BD=D0=B8=D0=B5=20BindingModel?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ConferenceBookingBindingModel.cs | 13 +++++++++++++ .../BindingModels/DinnerBindingModel.cs | 15 +++++++++++++++ .../BindingModels/HeadwaiterBindingModel.cs | 19 +++++++++++++++++++ .../BindingModels/RoomBindingModel.cs | 19 +++++++++++++++++++ 4 files changed, 66 insertions(+) create mode 100644 Hotel/HotelContracts/BindingModels/ConferenceBookingBindingModel.cs create mode 100644 Hotel/HotelContracts/BindingModels/DinnerBindingModel.cs create mode 100644 Hotel/HotelContracts/BindingModels/HeadwaiterBindingModel.cs create mode 100644 Hotel/HotelContracts/BindingModels/RoomBindingModel.cs diff --git a/Hotel/HotelContracts/BindingModels/ConferenceBookingBindingModel.cs b/Hotel/HotelContracts/BindingModels/ConferenceBookingBindingModel.cs new file mode 100644 index 0000000..ba1e5c9 --- /dev/null +++ b/Hotel/HotelContracts/BindingModels/ConferenceBookingBindingModel.cs @@ -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; } + } +} diff --git a/Hotel/HotelContracts/BindingModels/DinnerBindingModel.cs b/Hotel/HotelContracts/BindingModels/DinnerBindingModel.cs new file mode 100644 index 0000000..082fa1a --- /dev/null +++ b/Hotel/HotelContracts/BindingModels/DinnerBindingModel.cs @@ -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; } + } +} diff --git a/Hotel/HotelContracts/BindingModels/HeadwaiterBindingModel.cs b/Hotel/HotelContracts/BindingModels/HeadwaiterBindingModel.cs new file mode 100644 index 0000000..7c67371 --- /dev/null +++ b/Hotel/HotelContracts/BindingModels/HeadwaiterBindingModel.cs @@ -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; } + } +} diff --git a/Hotel/HotelContracts/BindingModels/RoomBindingModel.cs b/Hotel/HotelContracts/BindingModels/RoomBindingModel.cs new file mode 100644 index 0000000..a5b4df5 --- /dev/null +++ b/Hotel/HotelContracts/BindingModels/RoomBindingModel.cs @@ -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; } + } +}