22 lines
496 B
C#
22 lines
496 B
C#
|
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 DateOpening { get; set; } = DateTime.Now;
|
|||
|
|
|||
|
public Dictionary<int, (IDishModel, int)> ShopDishs
|
|||
|
{
|
|||
|
get;
|
|||
|
set;
|
|||
|
} = new();
|
|||
|
}
|
|||
|
}
|