PIBD-21_Lobashov_I_D_Travel.../TravelCompany/TravelCompanyContracts/ViewModels/TravelViewModel.cs

22 lines
607 B
C#
Raw Permalink Normal View History

2024-02-07 19:42:14 +04:00
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();
}
}