SUBD/TravelCompany/TravelCompanyContracts/BindingModels/TravelBindingModel.cs
2024-05-03 22:09:36 +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();
}
}