2023-03-28 16:13:50 +04:00
|
|
|
|
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; }
|
2023-03-28 16:13:50 +04:00
|
|
|
|
public int ClientId { get; set; }
|
|
|
|
|
public int EmployeeId { get; set; }
|
2023-03-28 17:32:55 +04:00
|
|
|
|
|
2023-03-29 20:00:53 +04:00
|
|
|
|
public Dictionary<int, (TimeOnly, IServiceModel, int)> OrderServices
|
2023-03-28 16:13:50 +04:00
|
|
|
|
{
|
|
|
|
|
get;
|
|
|
|
|
set;
|
|
|
|
|
} = new();
|
|
|
|
|
}
|
|
|
|
|
}
|