18 lines
492 B
C#
18 lines
492 B
C#
|
using FlowerShopDataModels.Models;
|
|||
|
|
|||
|
namespace FlowerShopContracts.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 DateOpening { get; set; } = DateTime.Now;
|
|||
|
public Dictionary<int, (IFlowerModel, int)> Flowers
|
|||
|
{
|
|||
|
get;
|
|||
|
set;
|
|||
|
} = new();
|
|||
|
}
|
|||
|
}
|