19 lines
578 B
C#
19 lines
578 B
C#
using ConfectioneryDataModels.Models;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace ConfectioneryContracts.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 OpeningDate { get; set; } = DateTime.Now;
|
|
public Dictionary<int, (IPastryModel, int)> ShopPastrys { get; set; } = new();
|
|
}
|
|
}
|