PIbd-21_Raspaev_N.I._FoodOr.../FoodOrders/FoodOrdersContracts/ViewModels/ShopViewModel.cs

18 lines
624 B
C#
Raw Normal View History

2023-03-12 11:43:44 +04:00
using FoodOrdersDataModels.Models;
using System.ComponentModel;
namespace FoodOrdersContracts.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 DateOfOpening { get; set; } = DateTime.Now;
public Dictionary<int, (IDishModel, int)> ShopDishes { get; set; } = new();
}
}