23 lines
555 B
C#
23 lines
555 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();
|
|
|
|
public int RepairMaxAmount { get; set; }
|
|
}
|
|
} |