forked from sanchezvem/PyroFetes
17:17 09/10
This commit is contained in:
@@ -1,23 +1,29 @@
|
||||
using PyroFetes.Models;
|
||||
using PyroFetes.DTO.Product.Request;
|
||||
using PyroFetes.DTO.Product.Request;
|
||||
using PyroFetes.DTO.Product.Response;
|
||||
|
||||
namespace PyroFetes.DTO.Product.Response;
|
||||
|
||||
public class GetProductDto
|
||||
namespace PyroFetes.DTO.Product.Response
|
||||
{
|
||||
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 string? ClassificationLabel { get; set; }
|
||||
public int ProductCategoryId { get; set; }
|
||||
public string? ProductCategoryLabel { get; set; }
|
||||
|
||||
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();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user