21 lines
706 B
C#
21 lines
706 B
C#
|
using ComputerHardwareStoreDataModels.Models;
|
|||
|
using System.ComponentModel;
|
|||
|
|
|||
|
namespace ComputerHardwareStoreContracts.ViewModels
|
|||
|
{
|
|||
|
public class PurchaseModelContracts : IPurchaseModel
|
|||
|
{
|
|||
|
public int Id { get; set; }
|
|||
|
[DisplayName("Стоимость")]
|
|||
|
public double Cost { get; set; }
|
|||
|
[DisplayName("Дата создания")]
|
|||
|
public DateTime DateCreate { get; set; }
|
|||
|
public int VendorId { get; set; }
|
|||
|
[DisplayName("Сумма")]
|
|||
|
public double Sum { get; set; }
|
|||
|
public Dictionary<int, (IBuildModel, int)> PurchaseBuild { get; set; }
|
|||
|
|
|||
|
public Dictionary<int, (IProductModel, int)> PurchaseProduct { get; set; }
|
|||
|
}
|
|||
|
}
|