24 lines
664 B
C#
24 lines
664 B
C#
using System.ComponentModel;
|
|
using TravelAgencyDataModels.Models;
|
|
|
|
namespace TravelAgencyContracts.ViewModels
|
|
{
|
|
public class ExcursionViewModel
|
|
{
|
|
public int Id { get; set; }
|
|
|
|
[DisplayName("Название экскурсии")]
|
|
public string ExcursionName { get; set; } = string.Empty;
|
|
|
|
[DisplayName("Описание экскурсии")]
|
|
public string ExcursionDescription { get; set; } = string.Empty;
|
|
|
|
[DisplayName("Цена")]
|
|
public double Price { get; set; }
|
|
|
|
public int UserId { get; set; }
|
|
|
|
public Dictionary<int, ITourModel> ExcursionTours { get; set; } = new();
|
|
}
|
|
}
|