ISEbd-21_Agliullov.D.A._Con.../ConfectioneryContracts/BindingModels/ShopBindingModel.cs

23 lines
530 B
C#
Raw Normal View History

2023-02-05 15:14:18 +04:00
using ConfectioneryDataModels;
using ConfectioneryDataModels.Models;
namespace ConfectioneryContracts.BindingModels
{
2023-02-05 15:14:18 +04:00
public class ShopBindingModel : IShopModel
{
2023-02-05 15:14:18 +04:00
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
2023-02-05 15:14:18 +04:00
{
get;
set;
} = new();
public int Id { get; set; }
}
}