2023-04-06 23:41:09 +04:00
|
|
|
|
using ComputerShopDataModels.Enums;
|
|
|
|
|
using ComputerShopDataModels.Models;
|
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace ComputerShopContracts.BindingModels
|
|
|
|
|
{
|
|
|
|
|
public class SupplyBindingModel : ISupplyModel
|
|
|
|
|
{
|
|
|
|
|
public int Id { get; set; }
|
|
|
|
|
public SupplyStatus Status { get; set; } = SupplyStatus.Неизвестен;
|
|
|
|
|
|
|
|
|
|
public DateTime DateCreate { get; set; } = DateTime.Now;
|
|
|
|
|
|
|
|
|
|
public DateTime? DateImplement { get; set; }
|
|
|
|
|
|
2023-04-07 16:10:59 +04:00
|
|
|
|
public Dictionary<int, (IOrderModel, int)> SupplyOrders
|
|
|
|
|
{
|
|
|
|
|
get;
|
|
|
|
|
set;
|
|
|
|
|
} = new();
|
2023-04-06 23:41:09 +04:00
|
|
|
|
}
|
|
|
|
|
}
|