16 lines
579 B
C#
16 lines
579 B
C#
using ComputerHardwareStoreDataModels.Models;
|
|
|
|
namespace ComputerHardwareStoreContracts.BindingModels
|
|
{
|
|
public class PurchaseBindingModel : IPurchaseModel
|
|
{
|
|
public int Id { get; set; }
|
|
public int VendorId { get; set; }
|
|
public double Cost { get; set; }
|
|
public DateTime DateCreate { get; set; }
|
|
public DateTime? DateImplement { get; set; }
|
|
public Dictionary<int, (IBuildModel, int)> PurchaseBuilds { get; set; } = new();
|
|
public Dictionary<int, (IProductModel, int)> PurchaseProducts { get; set; } = new();
|
|
}
|
|
}
|