24 lines
763 B
C#
24 lines
763 B
C#
|
using FurnitureAssemblyDataModels.Models;
|
|||
|
using System;
|
|||
|
using System.Collections.Generic;
|
|||
|
using System.ComponentModel;
|
|||
|
using System.Linq;
|
|||
|
using System.Text;
|
|||
|
using System.Threading.Tasks;
|
|||
|
|
|||
|
namespace FurnitureAssemblyContracts.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 DateOpening { get; set; }
|
|||
|
|
|||
|
public Dictionary<int, (IFurnitureModel, int)> Furnitures { get; set; } = new();
|
|||
|
}
|
|||
|
}
|