PIbd-22_Safiulova_K.N._Airc.../AircraftPlant/AircraftPlantContracts»/ViewModels/ShopViewModel.cs

29 lines
931 B
C#
Raw Normal View History

2024-03-13 11:16:22 +04:00
using AircraftPlantDataModels.Models;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AircraftPlantContracts.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, (IPlaneModel, int)> ShopPlanes
{
get;
set;
} = new();
2024-05-05 14:10:57 +04:00
[DisplayName("Максимальное количество изделий")]
public int MaxPlanes { get; set; }
2024-03-13 11:16:22 +04:00
}
}