Arkadiy Radaev d0874b7c11 res 4 hard
2024-05-18 18:05:46 +04:00

29 lines
850 B
C#

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using GiftShopDataModels.Models;
namespace GiftShopContracts.ViewModels
{
public class ShopViewModel : IShopModel
{
public Dictionary<int, (IGiftModel, int)> ShopGifts { get; set; } = new();
public int Id { get; set; }
[DisplayName("Название магазина")]
public string ShopName { get; set; } = string.Empty;
[DisplayName("Адрес магазина")]
public string ShopAdress { get; set; } = string.Empty;
[DisplayName("Дата открытия")]
public DateTime OpeningDate { get; set; } = DateTime.Now;
[DisplayName("Вместимость")]
public int MaxCapacity { get; set; }
}
}