Files
PyroFetes-Sujet1/PyroFetes/DTO/Product/Request/CreateProductDto.cs
2025-10-09 17:17:42 +02:00

26 lines
920 B
C#

using PyroFetes.DTO.Product.Request;
namespace PyroFetes.DTO.Product.Request
{
public class CreateProductDto
{
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; }
public int ClassificationId { get; set;}
public int ProductCategoryId { get; set; }
// Liste des fournisseurs liés au produit
public List<ProductSupplierPriceDto>? Suppliers { get; set; }
// Liste des entrepôts liés au produit
public List<CreateProductWarehouseDto>? Warehouses { get; set; }
}
}