PIbd21_Makarov_DV_FlowerShop/FlowerShop/FlowerShopContracts/BindingModels/FlowerBindingModel.cs

18 lines
427 B
C#
Raw Normal View History

2024-02-24 09:40:58 +04:00
using FlowerShopDataModels.Models;
namespace FlowerShopContracts.BindingModels
{
public class FlowerBindingModel : IFlowerModel
{
public int Id { get; set; }
public string FlowerName { get; set; } = string.Empty;
public double Price { get; set; }
public Dictionary<int, (IComponentModel, int)> FlowerComponents
{
get;
set;
} = new();
}
}