Coursach/Course/Contracts/BindingModels/ProductBindingModel.cs

17 lines
433 B
C#
Raw Normal View History

2024-04-03 14:13:18 +04:00
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; }
2024-04-27 21:46:39 +04:00
2024-04-23 22:34:09 +04:00
public Dictionary<int, (IDetailModel, int)> ProductDetails { get; set; } = new();
2024-04-27 21:46:39 +04:00
public int? MachineId { get; set; }
}
2024-04-03 14:13:18 +04:00
}