Files
PyroFetes-Sujet1/PyroFetes/Models/Product.cs
2025-10-02 14:30:54 +02:00

31 lines
924 B
C#

using API.Class;
namespace API.Models
{
public class Product
{
public int Id { get; set; }
public int References { get; set; }
public string Name { get; set; }
public decimal Duration {get; set;}
public decimal Caliber { get; set; }
public int ApprovalNumber { get; set; }
public decimal Weight { get; set; }
public decimal Nec { get; set; }
public decimal SellingPrice { get; set; }
public string Image { get; set; }
public string Link { get; set; }
// Relations
public int ClassificationId { get; set; }
public Classification Classification { get; set; }
public int ProductCategoryId { get; set; }
public ProductCategory ProductCategory { get; set; }
public List<Brand> Brands { get; set; }
public List<Movement> Movements { get; set; }
}
}