PIbd-21_Anisin_R.S._CourseW.../TravelAgency/TravelAgencyContracts/ViewModels/ExcursionGroupViewModel.cs

26 lines
756 B
C#
Raw Normal View History

2024-04-27 23:49:22 +04:00
using System.ComponentModel;
using TravelAgencyDataModels.Models;
namespace TravelAgencyContracts.ViewModels
{
2024-05-28 18:32:51 +04:00
public class ExcursionGroupViewModel : IExcursionGroupModel
2024-04-27 23:49:22 +04:00
{
public int Id { get; set; }
[DisplayName("Название экскурсии")]
public string ExcursionGroupName { get; set; } = string.Empty;
[DisplayName("Количество участников")]
public int ParticipantsAmount { get; set; }
public int UserId { get; set; }
public int GuideId { get; set; }
2024-04-30 18:42:41 +04:00
[DisplayName("ФИО гида")]
2024-05-28 18:32:51 +04:00
public string? GuideFIO { get; set; } = string.Empty;
2024-04-30 18:42:41 +04:00
2024-04-27 23:49:22 +04:00
public Dictionary<int, ITourModel> ExcursionGroupTours { get; set; } = new();
}
}