2024-06-17 14:04:22 +04:00
|
|
|
|
using DataModels.Enums;
|
|
|
|
|
using DataModels.Models;
|
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace Contracts.BindingModels
|
|
|
|
|
{
|
2024-06-22 11:01:06 +04:00
|
|
|
|
public class SupplyBindingModel : ISupply
|
2024-06-17 14:04:22 +04:00
|
|
|
|
{
|
|
|
|
|
public Guid Id { get; set; }
|
|
|
|
|
public string Name { get; set; } = string.Empty;
|
2024-06-22 15:10:46 +04:00
|
|
|
|
public Guid SupplierId { get; set; }
|
2024-06-17 14:04:22 +04:00
|
|
|
|
public DateTime Date { get; set; }
|
2024-06-25 13:14:23 +04:00
|
|
|
|
public DateTime? DateArriving { get; set; }
|
|
|
|
|
public DateTime? DateComplete { get; set; }
|
2024-06-17 14:04:22 +04:00
|
|
|
|
public double Price { get; set; }
|
|
|
|
|
public SupplyStatus Status { get; set; }
|
2024-06-22 12:18:43 +04:00
|
|
|
|
public Dictionary<Guid, (IProduct, int)> SupplyProducts { get; set; } = new();
|
2024-06-17 14:04:22 +04:00
|
|
|
|
}
|
|
|
|
|
}
|