Coursach/Course/Contracts/BindingModels/ProductBindingModel.cs
2024-04-27 21:46:39 +04:00

17 lines
433 B
C#

using DataModels.Models;
namespace Contracts.BindingModels
{
public class ProductBindingModel : IProductModel
{
public int Id { get; set; }
public int UserId { get; set; }
public string Name { get; set; } = string.Empty;
public double Cost { get; set; }
public Dictionary<int, (IDetailModel, int)> ProductDetails { get; set; } = new();
public int? MachineId { get; set; }
}
}