21 lines
721 B
C#
21 lines
721 B
C#
using CarRepairShopDataModels;
|
|
using CarRepairShopDataModels.Models;
|
|
using System.ComponentModel;
|
|
|
|
namespace CarRepairShopContracts.ViewModels
|
|
{
|
|
public class ShopViewModel : IShopModel
|
|
{
|
|
public int Id { get; set; }
|
|
[DisplayName("Название магазина")]
|
|
public string ShopName { get; set; }
|
|
[DisplayName("Адрес магазина")]
|
|
public string Address { get; set; }
|
|
[DisplayName("Дата открытия")]
|
|
public DateTime DateOpen { get; set; }
|
|
[DisplayName("Вместимость")]
|
|
public int MaxCapacity { get; set; }
|
|
public Dictionary<int, (IRepairModel, int)> ShopRepairs { get; set; } = new();
|
|
}
|
|
}
|