PIbd-23_Minhasapov_R.H._Aut.../AutomobilePlant/AutomobilePlantContracts/ViewModels/ShopViewModel.cs

27 lines
732 B
C#
Raw Normal View History

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 FoundingDate { get; set; }
public Dictionary<int, (ICarModel, int)> ShopCars { get; set; } = new();
}
}