2024-02-11 17:39:43 +04:00
|
|
|
|
using IceCreamShopDataModels.Models;
|
|
|
|
|
|
|
|
|
|
namespace IceCreamShopContracts.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, (IIceCreamModel, int)> ShopIceCreams
|
|
|
|
|
{
|
|
|
|
|
get;
|
|
|
|
|
set;
|
|
|
|
|
} = new();
|
2024-03-08 23:03:33 +04:00
|
|
|
|
|
|
|
|
|
public int IceCreamsMaximum { get; set; }
|
2024-02-11 17:39:43 +04:00
|
|
|
|
}
|
|
|
|
|
}
|