20 lines
612 B
C#
20 lines
612 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using GiftShopDataModels.Models;
|
|
|
|
namespace GiftShopContracts.BindingModels
|
|
{
|
|
public class ShopBindingModel : IShopModel
|
|
{
|
|
public int Id { get; set; }
|
|
public string ShopName { get; set; } = string.Empty;
|
|
public string ShopAdress { get; set; } = string.Empty;
|
|
public DateTime OpeningDate { get; set; } = DateTime.Now;
|
|
public int MaxCapacity { get; set; }
|
|
public Dictionary<int, (IGiftModel, int)> ShopGifts { get; set; } = new();
|
|
}
|
|
}
|