ISEbd-21_Agliullov.D.A._Con.../ConfectioneryContracts/BindingModels/ShopBindingModel.cs
2023-02-15 05:47:23 +04:00

25 lines
581 B
C#

using ConfectioneryDataModels;
using ConfectioneryDataModels.Models;
namespace ConfectioneryContracts.BindingModels
{
public class ShopBindingModel : IShopModel
{
public string Name { get; set; } = string.Empty;
public string Address { get; set; } = string.Empty;
public int MaxCountPastries { get; set; }
public DateTime DateOpening { get; set; } = DateTime.Now;
public Dictionary<int, (IPastryModel, int)> Pastries
{
get;
set;
} = new();
public int Id { get; set; }
}
}