2023-04-05 21:24:46 +04:00
|
|
|
|
using ComputerStoreDataModels.Models;
|
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace ComputerStoreContracts.BindingModels
|
|
|
|
|
{
|
|
|
|
|
public class ConsignmentBindingModel : IConsignmentModel
|
|
|
|
|
{
|
2023-04-07 13:10:34 +04:00
|
|
|
|
public int ID { get; set; }
|
2023-05-20 05:52:38 +04:00
|
|
|
|
public int? OrderID { get; set; }
|
2023-04-05 21:24:46 +04:00
|
|
|
|
public double Price { get; set; }
|
2023-04-07 20:46:13 +04:00
|
|
|
|
public Dictionary<int, (IProductModel, int)> ConsignmentProducts { get; set; } = new();
|
2023-04-05 21:24:46 +04:00
|
|
|
|
}
|
|
|
|
|
}
|