PIbd-21_Musoev_D.T._FlowerShop/FlowerShop/FlowerShopContracts/ViewModels/BouquetViewModel.cs

16 lines
502 B
C#
Raw Normal View History

2023-04-14 01:56:19 +04:00
using FlowerShopDataModels.Models;
using System.ComponentModel;
namespace FlowerShopContracts.ViewModels
{
public class BouquetViewModel : IBouquetModel
{
public int Id { get; set; }
[DisplayName("Название букета")]
public string BouquetName { get; set; } = string.Empty;
[DisplayName("Цена")]
public double Price { get; set; }
public Dictionary<int, (IComponentModel, int)> BouquetComponents { get; set; } = new();
}
}