2024-04-12 20:16:02 +04:00
|
|
|
|
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;
|
2024-04-12 20:55:05 +04:00
|
|
|
|
[DisplayName("Максимальное количество работ")]
|
|
|
|
|
public int maxCountWorks { get; set; }
|
2024-04-12 20:16:02 +04:00
|
|
|
|
[DisplayName("Дата открытия")]
|
|
|
|
|
public DateTime DateOpening { get; set; }
|
|
|
|
|
public Dictionary<int, (IWorkModel, int)> ShopWorks { get; set; } = new();
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|