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;
|
2024-04-19 02:23:50 +04:00
|
|
|
|
public Dictionary<int, (IFlowerModel, int)> ShopFlowers
|
2024-04-04 00:29:16 +04:00
|
|
|
|
{
|
|
|
|
|
get;
|
|
|
|
|
set;
|
|
|
|
|
} = new();
|
2024-04-19 02:23:50 +04:00
|
|
|
|
|
|
|
|
|
public int MaximumFlowers { get; set; }
|
2024-04-04 00:29:16 +04:00
|
|
|
|
}
|
|
|
|
|
}
|