PIbd-22-Stroev-V.M.-Plumbin.../PlumbingRepair/PlumbingRepairContracts/ViewModels/StoreViewModel.cs
2024-05-06 11:24:06 +04:00

25 lines
889 B
C#

using PlumbingRepairDataModels.Models;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace PlumbingRepairContracts.ViewModels
{
public class StoreViewModel : IStoreModel
{
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; }
[DisplayName("Вместимость магазина")]
public int WorkMaxCount { get; set; }
}
}