PIbd21_Makarov_DV_FlowerShop/FlowerShop/FlowerShopContracts/BindingModels/ShopBindingModel.cs

18 lines
492 B
C#
Raw Normal View History

2024-04-04 00:29:16 +04:00
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)> Flowers
{
get;
set;
} = new();
}
}