forked from sanchezvem/PyroFetes
54 lines
1.6 KiB
C#
54 lines
1.6 KiB
C#
using PyroFetes.DTO.Product.Request;
|
||
using PyroFetes.DTO.Product.Response;
|
||
|
||
namespace PyroFetes.DTO.Product.Response
|
||
{
|
||
// DTO utilisé pour renvoyer les informations complètes d’un produit
|
||
public class GetProductDto
|
||
{
|
||
// Identifiant unique du produit
|
||
public int Id { get; set; }
|
||
|
||
// Référence interne du produit
|
||
public int Reference { get; set; }
|
||
|
||
// Nom du produit
|
||
public string? Name { get; set; }
|
||
|
||
// Durée de l’effet du produit
|
||
public decimal Duration { get; set; }
|
||
|
||
// Calibre du produit
|
||
public decimal Caliber { get; set; }
|
||
|
||
// Numéro d’homologation
|
||
public int ApprovalNumber { get; set; }
|
||
|
||
// Poids du produit
|
||
public decimal Weight { get; set; }
|
||
|
||
// Matière active (NEC)
|
||
public decimal Nec { get; set; }
|
||
|
||
// Prix de vente du produit
|
||
public decimal SellingPrice { get; set; }
|
||
|
||
// Image du produit (URL ou chemin)
|
||
public string? Image { get; set; }
|
||
|
||
// Lien externe vers plus d’informations (fiche, vidéo, etc.)
|
||
public string? Link { get; set; }
|
||
|
||
// Identifiant de la classification du produit
|
||
public int ClassificationId { get; set; }
|
||
|
||
// Identifiant de la catégorie du produit
|
||
public int ProductCategoryId { get; set; }
|
||
|
||
// Fournisseurs liés venant du DTO ProductSupplierPriceDto
|
||
public List<ProductSupplierPriceDto> Suppliers { get; set; } = new();
|
||
|
||
// Entrepôts liés venant du DTO ProductWarehouseDto
|
||
public List<GetProductWarehouseDto> Warehouses { get; set; } = new();
|
||
}
|
||
} |