2024-04-18 16:47:15 +04:00
|
|
|
|
using ComputerHardwareStoreDataModels.Models;
|
|
|
|
|
|
|
|
|
|
namespace ComputerHardwareStoreContracts.BindingModels
|
|
|
|
|
{
|
|
|
|
|
public class PurchaseBindingModel : IPurchaseModel
|
|
|
|
|
{
|
|
|
|
|
public int Id { get; set; }
|
2024-04-29 13:31:37 +04:00
|
|
|
|
public int VendorId { get; set; }
|
2024-04-18 16:47:15 +04:00
|
|
|
|
public double Cost { get; set; }
|
|
|
|
|
public DateTime DateCreate { get; set; }
|
2024-05-01 11:55:41 +04:00
|
|
|
|
public DateTime? DateImplement { get; set; }
|
2024-04-30 19:12:40 +04:00
|
|
|
|
public Dictionary<int, (IBuildModel, int)> PurchaseBuilds { get; set; } = new();
|
|
|
|
|
public Dictionary<int, (IProductModel, int)> PurchaseProducts { get; set; } = new();
|
2024-04-18 16:47:15 +04:00
|
|
|
|
}
|
|
|
|
|
}
|