forked from sanchezvem/PyroFetes
Commentaire des DTO
This commit is contained in:
@@ -1,14 +1,30 @@
|
||||
namespace PyroFetes.DTO.Supplier.Request;
|
||||
|
||||
public class UpdateSupplierDto
|
||||
namespace PyroFetes.DTO.Supplier.Request
|
||||
{
|
||||
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; }
|
||||
// DTO pour mettre à jour un fournisseur existant
|
||||
public class UpdateSupplierDto
|
||||
{
|
||||
// Identifiant du fournisseur à mettre à jour
|
||||
public int Id { get; set; }
|
||||
|
||||
public List<SupplierProductPriceDto>? Products { get; set; }
|
||||
// Nom du fournisseur
|
||||
public string Name { get; set; }
|
||||
|
||||
// Email du fournisseur
|
||||
public string Email { get; set; }
|
||||
|
||||
// Numéro de téléphone du fournisseur
|
||||
public string PhoneNumber { get; set; }
|
||||
|
||||
// Adresse du fournisseur
|
||||
public string Adress { get; set; }
|
||||
|
||||
// Code postal de l'adresse
|
||||
public int ZipCode { get; set; }
|
||||
|
||||
// Ville de l'adresse
|
||||
public string City { get; set; }
|
||||
|
||||
// Liste des produits fournis par ce fournisseur relié à la classe SupplierProductPriceDto
|
||||
public List<SupplierProductPriceDto>? Products { get; set; }
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user