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

23 lines
629 B
C#
Raw Normal View History

2024-04-27 23:49:22 +04:00
using System.ComponentModel;
using TravelAgencyDataModels.Models;
namespace TravelAgencyContracts.ViewModels
{
public class ExcursionGroupViewModel
{
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; }
public Dictionary<int, ITourModel> ExcursionGroupTours { get; set; } = new();
}
}