CourseWork_CarCenter/CarCenter/CarCenterContracts/ViewModels/EquipmentViewModel.cs

25 lines
750 B
C#

using CarCenterDataModels.Models;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CarCenterContracts.ViewModels
{
public class EquipmentViewModel : IEquipmentModel
{
public int Id { get; set; }
[DisplayName("Название комплектации")]
public string EquipmentName { get; set; } = string.Empty;
[DisplayName("Цена комплектации")]
public double EquipmentPrice { get; set; }
public int AdministratorId { get; set; }
public int? PreSaleWorkId { get; set; }
public Dictionary<int, ICarModel> EquipmentCars { get; set; } = new();
}
}