No Description

ProprieteDto.cs 565B

123456789101112131415161718192021222324
  1. using System;
  2. using System.ComponentModel.DataAnnotations;
  3. using System.Text.Json.Serialization;
  4. namespace Backend.Models
  5. {
  6. public class ProprieteDto
  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("typeproprieteid")]
  15. public Guid TypeProprieteId { get; set; }
  16. [Required]
  17. [JsonPropertyName("valeur")]
  18. public string Valeur { get; set; }
  19. }
  20. }

Powered by TurnKey Linux.