PIbd21_Makarov_DV_FlowerShop/FlowerShop/FlowerShopContracts/BindingModels/ShopBindingModel.cs
2024-04-19 02:23:50 +04:00

20 lines
545 B
C#

using FlowerShopDataModels.Models;
namespace FlowerShopContracts.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, (IFlowerModel, int)> ShopFlowers
{
get;
set;
} = new();
public int MaximumFlowers { get; set; }
}
}