PIbd-21_RazubaevSM_Plumbing.../PlumbingRepair/PlumbingRepairContracts/BindingModels/ShopBindingModel.cs

26 lines
652 B
C#
Raw Normal View History

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
{
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();
}
}