PIAPS_CW/Contracts/BindingModels/SupplyBindingModel.cs

24 lines
729 B
C#
Raw Permalink Normal View History

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
{
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; }
public DateTime Date { get; set; }
public DateTime? DateArriving { get; set; }
public DateTime? DateComplete { get; set; }
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();
}
}