PIbd-23_Nevaeva_K.A._Travel.../TravelCompany/TravelCompanyContracts/BindingModels/TravelBindingModel.cs

22 lines
548 B
C#
Raw Permalink Normal View History

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using TravelCompanyDataModels.Models;
namespace TravelCompanyContracts.BindingModels
{
public class TravelBindingModel : ITravelModel
{
public int Id { get; set; }
public string TravelName { get; set; } = string.Empty;
public double Price { get; set; }
public Dictionary<int, (IConditionModel, int)> TravelConditions
{
get;
set;
} = new();
}
}