using AutomobilePlantDataModels.Models; using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Text; using System.Threading.Tasks; namespace AutomobilePlantContracts.ViewModels { public class ShopViewModel : IShopModel { public int Id { get; set; } [DisplayName("Название магазина")] public string Name { get; set; } = string.Empty; [DisplayName("Адрес")] public string Address { get; set; } = string.Empty; [DisplayName("Дата открытия")] public DateTime OpeningDate { get; set; } public Dictionary ShopCars { get; set; } = new(); public List>? CarCount { get; set; } = new(); [DisplayName("Макс. автомобилей в магазине")] public int MaxCountCars { get; set; } } }