20 lines
638 B
C#
Raw Normal View History

2023-02-13 15:18:58 +04:00
using SushiBarDataModels.Models;
using System.ComponentModel;
namespace SushiBarContracts.ViewModels
{
public class StoreViewModel : IStoreModel
{
2023-03-11 21:23:26 +04:00
public Dictionary<int, (ISushiModel, int)> Sushis { get; init; } = new();
public int maxSushi { get; set; }
public int Id { get; init; }
2023-02-13 15:18:58 +04:00
[DisplayName("Name store")]
2023-03-11 21:23:26 +04:00
public string StoreName { get; init; } = string.Empty;
[DisplayName("Address store")]
public string StoreAddress { get; init; } = string.Empty;
2023-02-13 15:18:58 +04:00
[DisplayName("Date opening")]
2023-03-11 21:23:26 +04:00
public DateTime OpeningDate { get; init; } = DateTime.Now;
2023-02-13 15:18:58 +04:00
}
}