Monde.cs 789 B

12345678910111213141516171819202122232425262728293031
  1. using System.Xml.Serialization;
  2. namespace Domain.XML_Model
  3. {
  4. [Serializable]
  5. [XmlRoot(ElementName = "mondes")]
  6. public class Monde : 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")]
  13. public string? Type { get; set; }
  14. [XmlAttribute(AttributeName = "effet")]
  15. public string? Effet { get; set; }
  16. [XmlAttribute(AttributeName = "destin")]
  17. public string? Destin { get; set; }
  18. [XmlAttribute(AttributeName = "description")]
  19. public string? Description { get; set; }
  20. [XmlIgnoreAttribute] public int MondeId { get; set; }
  21. }
  22. }