23 lines
715 B
C#
23 lines
715 B
C#
using ConfectioneryDataModels.Models;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace ConfectioneryContracts.ViewModels
|
|
{
|
|
public class ShopViewModel : IShopModel
|
|
{
|
|
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();
|
|
}
|
|
}
|