21 lines
581 B
C#
21 lines
581 B
C#
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
|
|
{
|
|
internal class SupplyBindingModel : ISupply
|
|
{
|
|
public Guid Id { get; set; }
|
|
public string Name { get; set; } = string.Empty;
|
|
public DateTime Date { get; set; }
|
|
public double Price { get; set; }
|
|
public SupplyStatus Status { get; set; }
|
|
public Dictionary<int, (IProduct, int)> SupplyProducts { get; set; } = new();
|
|
}
|
|
}
|