ISEbd-22_Alimova_M.S._Confe.../Confectionery/ConfectioneryContracts/BindingModels/ShopBindingModel.cs

19 lines
578 B
C#
Raw Normal View History

2024-02-29 23:33:00 +04:00
using ConfectioneryDataModels.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ConfectioneryContracts.BindingModels
{
2024-02-29 23:33:00 +04:00
public class ShopBindingModel : IShopModel
{
2024-02-29 23:33:00 +04:00
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();
}
}