PIbd-23-Nasyrov-A.G.-Flower.../FlowerShopContracts/BindingModels/ShopBindingModel.cs

20 lines
598 B
C#
Raw Normal View History

2024-02-14 22:27:41 +04:00
using FlowerShopDataModels.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace FlowerShopContracts.BindingModels
{
public class ShopBindingModel : IShopModel
{
public int Id { get; set; }
2024-04-21 21:02:02 +04:00
public string ShopName { get; set; } = string.Empty;
public string Address { get; set; } = string.Empty;
2024-02-14 22:27:41 +04:00
public DateTime DateOpen { get; set; }
2024-03-14 21:28:58 +04:00
public int MaxCapacity { get; set; }
2024-02-14 22:27:41 +04:00
public Dictionary<int, (IFlowerModel, int)> ShopFlowers { get; set; } = new();
}
}