PIbd-22_Chernyshev_Shabunov.../ComputerShopContracts/BindingModels/RequestBindingModel.cs

28 lines
687 B
C#
Raw Normal View History

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; }
public int AssemblyId { get; set; }
public DateTime DateMake { get; set; } = DateTime.Now;
//!!!МБ НЕ НАДО string.Empty
public string ClientFIO { get; set; } = string.Empty;
public Dictionary<int, IOrderModel> RequestOrders { get; set; } = new();
//!!!ДОБАВИТЬ СТАТУС, ЕСЛИ БУДЕТ В ОБЫЧНОЙ МОДЕЛИ
}
}