PIBD-21_Lobashov_I_D_Travel.../TravelCompany/TravelCompanyContracts/BindingModels/TravelBindingModel.cs
2024-02-07 19:42:14 +04:00

18 lines
508 B
C#

using TravelCompanyDataModels.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
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, (IComponentModel, int)> TravelComponents { get; set; } = new();
}
}