PIbd-21_Anisin_R.S._CarRepa.../CarRepairShop/CarRepairShopContracts/BindingModels/ShopBindingModel.cs
2024-04-27 22:23:26 +04:00

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; }
}
}