using System.Xml.Serialization; namespace Domain.XML_Model { [Serializable] [XmlRoot(ElementName = "pouvoirs")] public class Pouvoir : BaseEntity { [XmlAttribute(AttributeName = "id")] public string Id { get; set; } [XmlAttribute(AttributeName = "nom")] public string? Nom { get; set; } [XmlAttribute(AttributeName = "discipline")] public string? Discipline { get; set; } [XmlAttribute(AttributeName = "seuil")] public int Seuil { get; set; } [XmlAttribute(AttributeName = "action")] public string? Action { get; set; } [XmlAttribute(AttributeName = "opposé")] public bool Opposé { get; set; } [XmlAttribute(AttributeName = "portée")] public string? Portée { get; set; } [XmlAttribute(AttributeName = "prolongeable")] public bool Prolongeable { get; set; } [XmlAttribute(AttributeName = "description")] public string? Description { get; set; } [XmlIgnore] public int PouvoirId { get; set; } } }