22 lines
508 B
C#
22 lines
508 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();
|
|||
|
}
|
|||
|
}
|