ISEbd-22_Alimova_M.S._Confe.../Confectionery/ConfectioneryContracts/ViewModels/ShopViewModel.cs

23 lines
715 B
C#
Raw Normal View History

2024-02-29 23:33:00 +04:00
using ConfectioneryDataModels.Models;
using System;
using System.Collections.Generic;
2024-02-29 23:33:00 +04:00
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ConfectioneryContracts.ViewModels
{
2024-02-29 23:33:00 +04:00
public class ShopViewModel : IShopModel
{
2024-02-29 23:33:00 +04:00
public int Id { get; set; }
[DisplayName("Название")]
public string ShopName { get; set; } = string.Empty;
[DisplayName("Адрес")]
public string Address { get; set; } = string.Empty;
[DisplayName("Дата открытия")]
public DateTime OpeningDate { get; set; }
public Dictionary<int, (IPastryModel, int)> ShopPastrys { get; set; } = new();
}
}