19 lines
650 B
C#
19 lines
650 B
C#
|
using PlumbingRepairDataModels.Models;
|
|||
|
using System.ComponentModel;
|
|||
|
|
|||
|
namespace PlumbingRepairContracts.ViewModels
|
|||
|
{
|
|||
|
public class StoreViewModel : IStoreModel
|
|||
|
{
|
|||
|
public Dictionary<int, (IWorkModel, int)> Works { 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;
|
|||
|
}
|
|||
|
}
|