ISEbd-21_Agliullov.D.A._Con.../ConfectioneryContracts/BindingModels/ShopBindingModel.cs
2023-02-05 15:56:29 +04:00

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; }
}
}