23 lines
530 B
C#
23 lines
530 B
C#
using ConfectioneryDataModels;
|
|
using ConfectioneryDataModels.Models;
|
|
|
|
namespace ConfectioneryContracts.BindingModels
|
|
{
|
|
public class ShopBindingModel : IShopModel
|
|
{
|
|
public string Name { get; set; } = string.Empty;
|
|
|
|
public string Address { get; set; } = string.Empty;
|
|
|
|
public DateTime DateOpening { get; set; } = DateTime.Now;
|
|
|
|
public Dictionary<int, (IPastryModel, int)> Pastries
|
|
{
|
|
get;
|
|
set;
|
|
} = new();
|
|
|
|
public int Id { get; set; }
|
|
}
|
|
}
|