21 lines
505 B
C#
21 lines
505 B
C#
|
using CarRepairShopDataModels.Models;
|
|||
|
|
|||
|
namespace CarRepairShopContracts.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, (IRepairModel, int)> ShopRepairs
|
|||
|
{
|
|||
|
get;
|
|||
|
set;
|
|||
|
} = new();
|
|||
|
}
|
|||
|
}
|