26 lines
662 B
C#
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();
|
|
}
|
|
}
|