PIbd-22_Turner_I.A._Plumbin.../PlumbingRepair/PlumbingRepairContracts/ViewModels/StoreViewModel.cs

21 lines
766 B
C#
Raw Normal View History

using PlumbingRepairDataModels.Models;
using System.ComponentModel;
namespace PlumbingRepairContracts.ViewModels
{
public class StoreViewModel : IStoreModel
{
2023-03-28 22:01:07 +04:00
public Dictionary<int, (IWorkModel, int)> StoreWorks { get; set; } = new();
public int Id { get; set; }
[DisplayName("Название магазина")]
public string StoreName { get; set; } = string.Empty;
[DisplayName("Адрес магазина")]
public string StoreAdress { get; set; } = string.Empty;
[DisplayName("Дата открытия")]
public DateTime OpeningDate { get; set; } = DateTime.Now;
2023-03-28 22:01:07 +04:00
[DisplayName("Вместимость магазина")]
public int WorkMaxCount { get; set; }
}
}