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();
|
2024-05-29 13:06:49 +04:00
|
|
|
|
|
|
|
|
|
public Dictionary<int, IPlaceModel> ExcursionGroupPlaces { get; set; } = new();
|
2024-04-27 23:49:22 +04:00
|
|
|
|
}
|
|
|
|
|
}
|