PIbd-22-Stroev-V.M.-Plumbin.../PlumbingRepair/PlumbingRepairContracts/ViewModels/StoreViewModel.cs

25 lines
889 B
C#
Raw Permalink Normal View History

2024-05-05 00:19:00 +04:00
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
{
2024-05-05 21:39:31 +04:00
public Dictionary<int, (IWorkModel, int)> StoreWorks { get; set; } = new();
2024-05-05 00:19:00 +04:00
public int Id { get; set; }
[DisplayName("Название магазина")]
public string StoreName { get; set; } = string.Empty;
[DisplayName("Адрес магазина")]
public string StoreAdress { get; set; } = string.Empty;
[DisplayName("Дата открытия")]
2024-05-06 11:24:06 +04:00
public DateTime OpeningDate { get; set; }
2024-05-05 21:39:31 +04:00
[DisplayName("Вместимость магазина")]
public int WorkMaxCount { get; set; }
2024-05-05 00:19:00 +04:00
}
}