28 lines
747 B
C#
Raw Normal View History

2023-04-11 21:25:59 +04:00
using PrecastConcretePlantDataModels;
using PrecastConcretePlantDataModels.Models;
using System.ComponentModel;
namespace PrecastConcretePlantContracts.ViewModels
{
public class ShopViewModel : IShopModel
{
[DisplayName("Название магазина")]
public string Name { get; set; } = string.Empty;
[DisplayName("Адрес магазина")]
public string Address { get; set; } = string.Empty;
[DisplayName("Время открытия")]
public DateTime DateOpening { get; set; } = DateTime.Now;
public Dictionary<int, (IReinforcedModel, int)> Reinforceds
{
get;
set;
} = new();
public int Id { get; set; }
}
}