PIbd-23-Nasyrov-A.G.-Flower.../FlowerShopContracts/ViewModels/ShopViewModel.cs
antoc0der de1f96bbe6 ъ
2024-02-14 21:27:41 +03:00

23 lines
707 B
C#

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using FlowerShopDataModels.Models;
namespace FlowerShopContracts.ViewModels
{
public class ShopViewModel : IShopModel
{
public int Id { get; set; }
[DisplayName("Название магазина")]
public string ShopName { get; set; }
[DisplayName("Адрес магазина")]
public string Address { get; set; }
[DisplayName("Дата открытия")]
public DateTime DateOpen { get; set; }
public Dictionary<int, (IFlowerModel, int)> ShopFlowers { get; set; } = new();
}
}