PIbd-23_Nevaeva_K.A._Travel.../TravelCompany/TravelCompanyContracts/ViewModels/TravelViewModel.cs
2023-02-20 08:36:19 +04:00

25 lines
655 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using TravelCompanyDataModels.Models;
using System.ComponentModel;
namespace TravelCompanyContracts.ViewModels
{
public class TravelViewModel
{
public int Id { get; set; }
[DisplayName("Название путешествия")]
public string TravelName { get; set; } = string.Empty;
[DisplayName("Цена")]
public double Price { get; set; }
public Dictionary<int, (IConditionModel, int)> TravelConditions
{
get;
set;
} = new();
}
}