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 ExcursionViewModel : IExcursionModel
|
2024-04-27 23:49:22 +04:00
|
|
|
|
{
|
|
|
|
|
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; }
|
|
|
|
|
|
2024-05-29 08:46:50 +04:00
|
|
|
|
public int PlaceId { get; set; }
|
|
|
|
|
|
|
|
|
|
public string? PlaceName { get; set; } = string.Empty;
|
|
|
|
|
|
2024-04-27 23:49:22 +04:00
|
|
|
|
public Dictionary<int, ITourModel> ExcursionTours { get; set; } = new();
|
|
|
|
|
}
|
|
|
|
|
}
|