diff --git a/Hotel/HotelContracts/ViewModels/ConferenceViewModel.cs b/Hotel/HotelContracts/ViewModels/ConferenceViewModel.cs index c8ea717..b5855d2 100644 --- a/Hotel/HotelContracts/ViewModels/ConferenceViewModel.cs +++ b/Hotel/HotelContracts/ViewModels/ConferenceViewModel.cs @@ -1,6 +1,18 @@ -namespace HotelContracts.ViewModels +using HotelDataModels.Models; +using System.ComponentModel; + +namespace HotelContracts.ViewModels { - public class ConferenceViewModel + public class ConferenceViewModel : IConferenceModel { + [DisplayName("Название конференции")] + public string ConferenceName { get; set; } = string.Empty; + + [DisplayName("Дата начала конференции")] + public DateTime StartDate { get; set; } + + public int OrganiserId { get; set; } + + public int Id { get; set; } } } diff --git a/Hotel/HotelContracts/ViewModels/MealPlanViewModel.cs b/Hotel/HotelContracts/ViewModels/MealPlanViewModel.cs new file mode 100644 index 0000000..6de6193 --- /dev/null +++ b/Hotel/HotelContracts/ViewModels/MealPlanViewModel.cs @@ -0,0 +1,18 @@ +using HotelDataModels.Models; +using System.ComponentModel; + +namespace HotelContracts.ViewModels +{ + public class MealPlanViewModel : IMealPlanModel + { + [DisplayName("Название плана питания")] + public string MealPlanName { get; set; } = string.Empty; + + [DisplayName("Цена плана питания")] + public double MealPlanPrice { get; set; } + + public int OrganiserId { get; set; } + + public int Id { get; set; } + } +} diff --git a/Hotel/HotelContracts/ViewModels/MemberViewModel.cs b/Hotel/HotelContracts/ViewModels/MemberViewModel.cs new file mode 100644 index 0000000..fc66f78 --- /dev/null +++ b/Hotel/HotelContracts/ViewModels/MemberViewModel.cs @@ -0,0 +1,18 @@ +using HotelDataModels.Models; +using System.ComponentModel; + +namespace HotelContracts.ViewModels +{ + public class MemberViewModel : IMemberModel + { + [DisplayName("ФИО участника")] + public string MemberFIO { get; set; } = string.Empty; + + [DisplayName("Гражданство")] + public string Citizenship { get; set; } = string.Empty; + + public int OrganiserId { get; set; } + + public int Id { get; set; } + } +} diff --git a/Hotel/HotelContracts/ViewModels/OrganiserViewModel.cs b/Hotel/HotelContracts/ViewModels/OrganiserViewModel.cs new file mode 100644 index 0000000..3e9f75a --- /dev/null +++ b/Hotel/HotelContracts/ViewModels/OrganiserViewModel.cs @@ -0,0 +1,25 @@ +using HotelDataModels.Models; +using System.ComponentModel; + +namespace HotelContracts.ViewModels +{ + public class OrganiserViewModel : IOrganiserModel + { + [DisplayName("ФИО организатора")] + public string OrganiserFIO { get; set; } = string.Empty; + + [DisplayName("Пароль организатора")] + public string OrganiserPassword { get; set; } = string.Empty; + + [DisplayName("Логин организатора")] + public string OrganiserLogin { get; set; } = string.Empty; + + [DisplayName("Эл. почта организатора")] + public string OrganiserEmail { get; set; } = string.Empty; + + [DisplayName("Номер телефона организатора")] + public string OrganiserNumber { get; set; } = string.Empty; + + public int Id { get; set; } + } +}