PIAPS_CW/Contracts/BindingModels/SupplierBindingModel.cs

18 lines
473 B
C#
Raw Permalink Normal View History

using DataModels.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Contracts.BindingModels
{
public class SupplierBindingModel : ISupplier
{
public Guid Id { get; set; }
public string Name { get; set; } = string.Empty;
2024-06-22 15:10:46 +04:00
public Dictionary<Guid, (IProduct, int)> AvailibleProducts { get; set; } = new();
public int Deals { get; set; } = 0;
}
}