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

28 lines
687 B
C#
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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();
//!!!ДОБАВИТЬ СТАТУС, ЕСЛИ БУДЕТ В ОБЫЧНОЙ МОДЕЛИ
}
}