2024-04-17 21:45:53 +04:00
|
|
|
|
using ComputerShopDataModels.Models;
|
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace ComputerShopContracts.BindingModels
|
|
|
|
|
{
|
|
|
|
|
public class RequestBindingModel : IRequestModel
|
|
|
|
|
{
|
|
|
|
|
public int Id { get; set; }
|
|
|
|
|
|
|
|
|
|
public int UserId { get; set; }
|
|
|
|
|
|
2024-04-24 21:39:13 +04:00
|
|
|
|
public int AssemblyId { get; set; }
|
2024-04-23 21:55:59 +04:00
|
|
|
|
|
2024-04-17 21:45:53 +04:00
|
|
|
|
public DateTime DateMake { get; set; } = DateTime.Now;
|
|
|
|
|
|
|
|
|
|
//!!!МБ НЕ НАДО string.Empty
|
|
|
|
|
public string ClientFIO { get; set; } = string.Empty;
|
|
|
|
|
|
2024-04-23 21:55:59 +04:00
|
|
|
|
public Dictionary<int, IOrderModel> RequestOrders { get; set; } = new();
|
|
|
|
|
|
2024-04-17 21:45:53 +04:00
|
|
|
|
//!!!ДОБАВИТЬ СТАТУС, ЕСЛИ БУДЕТ В ОБЫЧНОЙ МОДЕЛИ
|
|
|
|
|
}
|
|
|
|
|
}
|