PIbd-23_Elatomtsev_L.K._Con.../Confectionery/ConfectioneryContracts/BindingModels/ShopBindingModel.cs

15 lines
446 B
C#
Raw Normal View History

2024-06-20 06:10:16 +04:00
using ConfectioneryDataModels.Models;
namespace ConfectioneryContracts.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 DateOpen { get; set; }
public int MaxCapacity { get; set; }
public Dictionary<int, (IPastryModel, int)>
ShopPastries { get; set; } = new();
}
}