Geen omschrijving

LigneCommandeDto.cs 562B

12345678910111213141516171819202122232425
  1. using System;
  2. using System.ComponentModel.DataAnnotations;
  3. using System.Text.Json.Serialization;
  4. namespace Backend.Models
  5. {
  6. public class LigneCommandeDto
  7. {
  8. [JsonPropertyName("id")]
  9. public Guid? Id { get; set; }
  10. [Required]
  11. [JsonPropertyName("produitid")]
  12. public Guid ProduitId { get; set; }
  13. [Required]
  14. [JsonPropertyName("commandeid")]
  15. public Guid CommandeId { get; set; }
  16. [Required]
  17. [JsonPropertyName("quantite")]
  18. public int Quantite { get; set; }
  19. }
  20. }

Powered by TurnKey Linux.