forked from sanchezvem/PyroFetes
29 lines
988 B
C#
29 lines
988 B
C#
using API.DTO.Product.Request;
|
|
using PyroFetes.DTO.Product.Request;
|
|
using PyroFetes.DTO.Product.Response;
|
|
|
|
namespace API.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();
|
|
}
|
|
} |