| 12345678910111213141516171819202122232425262728 |
- using System.Xml.Serialization;
- namespace Domain.XML_Model
- {
- [Serializable]
- [XmlRoot(ElementName = "traits")]
- public class Trait : BaseEntity
- {
- [XmlAttribute(AttributeName = "id")]
- public string Id { get; set; }
- [XmlAttribute(AttributeName = "nom")]
- public string? Nom { get; set; }
- [XmlAttribute(AttributeName = "effet")]
- public string? Effet { get; set; }
- [XmlAttribute(AttributeName = "multiple")]
- public bool Multiple { get; set; }
- [XmlAttribute(AttributeName = "description")]
- public string? Description { get; set; }
- [XmlIgnoreAttribute] public int TraitId { get; set; }
- }
- }
|