PIbd-23_Elatomtsev_L.K._Con.../Confectionery/ConfectioneryContracts/ViewModels/ShopViewModel.cs
2024-06-20 06:10:16 +04:00

20 lines
656 B
C#

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; }
[DisplayName("Вместимость")]
public int MaxCapacity { get; set; }
public Dictionary<int, (IPastryModel, int)>
ShopPastries { get; set; } = new();
}
}