PIbd-23_Nevaeva_K.A._Travel.../TravelCompany/TravelCompanyContracts/ViewModels/TravelViewModel.cs

25 lines
655 B
C#
Raw Normal View History

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();
}
}