Files
PyroFetes-Sujet1/PyroFetes/DTO/Product/Response/GetProductDto.cs
2025-10-09 15:50:02 +02:00

29 lines
1000 B
C#

using PyroFetes.DTO.Product.Request;
using PyroFetes.DTO.Product.Request;
using PyroFetes.DTO.Product.Response;
namespace PyroFetes.DTO.Product.Response
{
public class GetProductDto
{
public int Id { get; set; }
public int Reference { 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; }
// Fournisseurs liés
public List<ProductSupplierPriceDto> Suppliers { get; set; } = new();
// Entrepôts liés
public List<GetProductWarehouseDto> Warehouses { get; set; } = new();
}
}