21 lines
603 B
C#
21 lines
603 B
C#
|
using PlumbingRepairDataModels.Models;
|
|||
|
using System.ComponentModel;
|
|||
|
|
|||
|
namespace PlumbingRepairContracts.ViewModels
|
|||
|
{
|
|||
|
public class ShopViewModel
|
|||
|
{
|
|||
|
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, (IWorkModel, int)> ShopWorks { get; set; } = new();
|
|||
|
|
|||
|
}
|
|||
|
}
|