using System.Xml.Serialization; namespace Domain.XML_Model { [Serializable] [XmlRoot(ElementName = "competences")] public class Competence : BaseEntity { [XmlAttribute(AttributeName = "id")] public string Id { get; set; } [XmlAttribute(AttributeName = "nom")] public string? Nom { get; set; } [XmlAttribute(AttributeName = "type")] public string? Type { get; set; } [XmlAttribute(AttributeName = "carac")] public string? Carac { get; set; } [XmlAttribute(AttributeName = "registre")] public string? Registre { get; set; } [XmlAttribute(AttributeName = "description")] public string? Description { get; set; } [XmlIgnore] public int CompetenceId { get; set; } } }