PIbd-23_Ivanov_V.N._Pizzeria/Pizzeria/PizzeriaContracts/BindingModels/ShopBindingModel.cs

18 lines
564 B
C#
Raw Normal View History

2024-02-06 14:51:10 +04:00
using PizzeriaDataModels.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace PizzeriaContracts.BindingModels
{
public class ShopBindingModel : IShopModel
{
public int Id { get; set; }
public string ShopName { get; set; } = string.Empty;
public string Adress { get; set; } = string.Empty;
public DateTime OpeningDate { get; set; } = DateTime.Now;
public Dictionary<int, (IPizzaModel, int)> ShopPizzas { get; set; } = new();
}
}