PIbd-21_RazubaevSM_Plumbing.../PlumbingRepair/PlumbingRepairContracts/BindingModels/ShopBindingModel.cs
2024-06-17 21:27:15 +04:00

26 lines
662 B
C#

using PlumbingRepairDataModels.Enums;
using PlumbingRepairDataModels.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace PlumbingRepairContracts.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 int maxCountWorks { get; set; }
public DateTime DateOpening { get; set; } = DateTime.Now;
public Dictionary<int, (IWorkModel, int)> ShopWorks { get; set; } = new();
}
}