forked from sanchezvem/PyroFetes
50 lines
1.5 KiB
C#
50 lines
1.5 KiB
C#
using PyroFetes.DTO.Product.Request;
|
||
|
||
namespace PyroFetes.DTO.Product.Request
|
||
{
|
||
// DTO utilisé lors de la création d’un produit
|
||
public class CreateProductDto
|
||
{
|
||
// Référence interne du produit
|
||
public int References { 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 associée au produit (URL ou chemin)
|
||
public string? Image { get; set; }
|
||
|
||
// Lien vers une ressource externe (vidéo, fiche, 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; }
|
||
|
||
// Liste des fournisseurs liés au produit venant du DTO ProductSupplierPriceDto
|
||
public List<ProductSupplierPriceDto>? Suppliers { get; set; }
|
||
|
||
// Liste des entrepôts liés au produit venant du DTO CreateProductWarehouseDto
|
||
public List<CreateProductWarehouseDto>? Warehouses { get; set; }
|
||
}
|
||
} |