PIbd-21_Raspaev_N.I._FoodOr.../FoodOrders/FoodOrdersContracts/BindingModels/ShopBindingModel.cs

15 lines
497 B
C#
Raw Normal View History

2023-03-12 11:43:44 +04:00
using FoodOrdersDataModels.Models;
namespace FoodOrdersContracts.BindingModels
{
public class ShopBindingModel : IShopModel
{
public int Id { get; set; }
public string ShopName { get; set; } = string.Empty;
public string Address { get; set; } = string.Empty;
public DateTime DateOfOpening { get; set; } = DateTime.Now;
public Dictionary<int, (IDishModel, int)> ShopDishes { get; set; } = new();
2023-03-12 14:01:34 +04:00
public int Capacity { get; set; }
2023-03-12 11:43:44 +04:00
}
}