24 lines
559 B
C#
24 lines
559 B
C#
using IceCreamShopDataModels.Models;
|
|
|
|
namespace IceCreamShopContracts.BindingModels
|
|
{
|
|
public class ShopBindingModel : IShopModel
|
|
{
|
|
public int Id { get; set; }
|
|
|
|
public string ShopName { get; set; } = string.Empty;
|
|
|
|
public string Address { get; set; } = string.Empty;
|
|
|
|
public DateTime DateOpening { get; set; } = DateTime.Now;
|
|
|
|
public Dictionary<int, (IIceCreamModel, int)> ShopIceCreams
|
|
{
|
|
get;
|
|
set;
|
|
} = new();
|
|
|
|
public int IceCreamsMaximum { get; set; }
|
|
}
|
|
}
|