18 lines
576 B
C#
18 lines
576 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; }
|
|
public Dictionary<int, (IPastryModel, int)>
|
|
ShopPastries { get; set; } = new();
|
|
}
|
|
}
|