PIbd-21_Kouvshinoff_T._A._A.../AutomobilePlant/AutomobilePlantContracts/BindingModels/CarBindingModel.cs

23 lines
541 B
C#
Raw Permalink Normal View History

2024-02-11 16:43:19 +04:00
using AutomobilePlantDataModels.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AutomobilePlantContracts.BindingModels
{
public class CarBindingModel : ICarModel
{
public int Id { get; set; }
public string CarName { get; set; } = string.Empty;
public double Price { get; set; }
public Dictionary<int, (IComponentModel, int)> CarComponents
{
get;
set;
} = new();
}
}