ISEbd-21_Agliullov.D.A._Con.../ConfectioneryContracts/ViewModels/ShopViewModel.cs
2023-02-05 15:56:29 +04:00

27 lines
718 B
C#

using ConfectioneryDataModels;
using ConfectioneryDataModels.Models;
using System.ComponentModel;
namespace ConfectioneryContracts.ViewModels
{
public class ShopViewModel : IShopModel
{
[DisplayName("Название магазина")]
public string Name { get; set; } = string.Empty;
[DisplayName("Адрес магазина")]
public string Address { get; set; } = string.Empty;
[DisplayName("Время открытия")]
public DateTime DateOpening { get; set; } = DateTime.Now;
public Dictionary<int, (IPastryModel, int)> Pastries
{
get;
set;
} = new();
public int Id { get; set; }
}
}