2023-02-12 22:52:23 +04:00
|
|
|
|
using AutomobilePlantDataModels.Models;
|
|
|
|
|
using System;
|
2023-02-12 20:41:23 +04:00
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace AutomobilePlantContracts.BindingModels
|
|
|
|
|
{
|
2023-02-12 22:52:23 +04:00
|
|
|
|
public class CarBindingModel : ICarModel
|
2023-02-12 20:41:23 +04:00
|
|
|
|
{
|
2023-02-12 22:52:23 +04:00
|
|
|
|
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();
|
2023-02-12 20:41:23 +04:00
|
|
|
|
}
|
|
|
|
|
}
|