TypeName.cs 795 B

1234567891011121314151617181920212223242526272829303132
  1. using System.Xml.Serialization;
  2. namespace Domain.XML_Model
  3. {
  4. [Serializable]
  5. [XmlRoot(ElementName = "type_noms")]
  6. public class TypeName : BaseEntity
  7. {
  8. [XmlAttribute(AttributeName = "id")]
  9. public string Id { get; set; }
  10. [XmlAttribute(AttributeName = "nom")]
  11. public string? Nom { get; set; }
  12. [XmlAttribute(AttributeName = "type_nom")]
  13. public string? TypeNom { get; set; }
  14. [XmlAttribute(AttributeName = "genre")]
  15. public string? Genre { get; set; }
  16. [XmlAttribute(AttributeName = "seuil_min")]
  17. public int SeuilMin { get; set; }
  18. [XmlAttribute(AttributeName = "seuil_max")]
  19. public int SeuilMax { get; set; }
  20. [XmlIgnore]
  21. public int TypeNomId { get; set; }
  22. }
  23. }