PIbd-21_Ihonkina_E.S._Preca.../PrecastConcretePlantContracts/ViewModels/ShopViewModel.cs

32 lines
932 B
C#
Raw Normal View History

2023-04-21 04:43:43 +04:00
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using PrecastConcretePlantDataModels.Models;
namespace PrecastConcretePlantContracts.ViewModels
{
public class ShopViewModel : IShopModel
{
public int Id { get; set; }
[DisplayName("Название магазина")]
public string ShopName { get; set; } = string.Empty;
[DisplayName("Адрес магазина")]
public string Address { get; set; } = string.Empty;
[DisplayName("Дата открытия")]
public DateTime DateOpening { get; set; } = DateTime.Now;
2023-04-21 05:01:40 +04:00
[DisplayName("Вместимость магазина")]
public int Capacity { get; set; }
2023-04-21 04:43:43 +04:00
public Dictionary<int, (IReinforcedModel, int)> Reinforceds
{
get;
set;
} = new();
}
}