Pibd-21_Ievlewa_MD._Precast.../PrecastConcretePlant/PrecastConcretePlantContracts/ViewModels/ShopViewModel.cs

34 lines
948 B
C#
Raw Normal View History

2024-04-18 23:41:30 +04:00
using PrecastConcretePlantDataModels.Models;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
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;
public Dictionary<int, (IReinforcedModel, int)> ShopReinforceds
{
get;
set;
} = new();
2024-05-16 21:48:52 +04:00
[DisplayName("Максимальное количество изделий")]
public int ReinforcedsMax { get; set; }
2024-04-18 23:41:30 +04:00
}
}