ComputerHardwareStore_YouAr.../ComputerHardwareStore/ComputerHardwareStoreContracts/BindingModels/PurchaseBindingModel.cs
2024-04-18 16:47:15 +04:00

16 lines
564 B
C#

using ComputerHardwareStoreDataModels.Models;
namespace ComputerHardwareStoreContracts.BindingModels
{
public class PurchaseBindingModel : IPurchaseModel
{
public int Id { get; set; }
public double Cost { get; set; }
public DateTime DateCreate { get; set; }
public int VendorId { get; set; }
public double Sum { get; set; }
public Dictionary<int, (IBuildModel, int)> PurchaseBuild { get; set; } = new();
public Dictionary<int, (IProductModel, int)> PurchaseProduct { get; set; } = new();
}
}