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