18 lines
427 B
C#
18 lines
427 B
C#
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();
|
|
|
|
}
|
|
}
|