SUBD_PIbd-21_Balberova_D.N./BeautySaloon/BeautySaloonContracts/BindingModels/OrderBindingModel.cs

20 lines
542 B
C#
Raw Normal View History

using BeautySaloonDataModels;
namespace BeautySaloonContracts.BindingModels
{
public class OrderBindingModel : IOrderModel
{
public int Id { get; set; }
2023-03-28 21:24:52 +04:00
public DateOnly Date { get; set; } = DateOnly.FromDateTime(DateTime.Now);
public decimal Sum { get; set; }
public int ClientId { get; set; }
public int EmployeeId { get; set; }
2023-03-28 17:32:55 +04:00
2023-03-28 21:24:52 +04:00
public Dictionary<int, (TimeOnly, IServiceModel, IEmployeeModel)> OrderServices
{
get;
set;
} = new();
}
}