SUBD/TravelCompany/TravelCompanyContracts/ViewModels/TravelViewModel.cs
2024-05-03 22:09:36 +04:00

22 lines
607 B
C#

using TravelCompanyDataModels.Models;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace TravelCompanyContracts.ViewModels
{
public class TravelViewModel : ITravelModel
{
public int Id { get; set; }
[DisplayName("Название изделия")]
public string TravelName { get; set; }
[DisplayName("Цена")]
public double Price { get; set; }
public Dictionary<int, (IComponentModel, int)> TravelComponents { get; set; } = new();
}
}