forked from sanchezvem/PyroFetes
24 lines
691 B
C#
24 lines
691 B
C#
using PyroFetes.DTO.Supplier.Request;
|
|
|
|
namespace PyroFetes.DTO.Supplier.Response;
|
|
|
|
public class GetSupplierDto
|
|
{
|
|
public int Id { get; set; }
|
|
public string Name { get; set; }
|
|
public string Email { get; set; }
|
|
public string PhoneNumber { get; set; }
|
|
public string Adress { get; set; }
|
|
public int ZipCode { get; set; }
|
|
public string City { get; set; }
|
|
|
|
// Liste des produits liés avec leur prix fournisseur
|
|
public List<SupplierProductPriceDto> Products { get; set; }
|
|
}
|
|
|
|
public class GetSupplierProductDto
|
|
{
|
|
public int ProductId { get; set; }
|
|
public string ProductName { get; set; } = string.Empty;
|
|
public decimal SellingPrice { get; set; }
|
|
} |