PIbd-23_Elatomtsev_L.K._Con.../Confectionery/ConfectioneryContracts/ViewModels/ShopViewModel.cs

18 lines
576 B
C#
Raw Permalink Normal View History

2024-06-20 02:41:23 +04:00
using ConfectioneryDataModels.Models;
using System.ComponentModel;
namespace ConfectioneryContracts.ViewModels
{
public class ShopViewModel : IShopModel
{
public int Id { get; set; }
[DisplayName("Название магазина")]
public string ShopName { get; set; } = string.Empty;
[DisplayName("Адрес магазина")]
public string Address { get; set; } = string.Empty;
[DisplayName("Дата открытия")]
public DateTime DateOpen { get; set; }
public Dictionary<int, (IPastryModel, int)>
ShopPastries { get; set; } = new();
}
}