25 lines
655 B
C#
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();
|
|||
|
}
|
|||
|
}
|