PIbd-23_Polevoy_S.V._Flower.../FlowerShop/FlowerShopContracts/BindingModels/BouquetBindingModel.cs

12 lines
389 B
C#
Raw Normal View History

using FlowerShopDataModels.Models;
namespace FlowerShopContracts.BindingModels
{
2023-01-29 18:59:33 +04:00
public class BouquetBindingModel : IBouquetModel
{
public int Id { get; set; }
2023-01-29 18:59:33 +04:00
public string BouquetName { get; set; } = string.Empty;
public double Price { get; set; }
2023-01-29 18:59:33 +04:00
public Dictionary<int, (IComponentModel, int)> BouquetComponents { get; set; } = new();
}
}