using System.Xml.Serialization; namespace Domain.XML_Model { [Serializable] [XmlRoot(ElementName = "coordonnées")] public class Coordonnée : BaseEntity { [XmlAttribute(AttributeName = "id")] public string Id { get; set; } [XmlAttribute(AttributeName = "nom")] public string? Nom { get; set; } [XmlAttribute(AttributeName = "sous_secteur")] public string? SousSecteur { get; set; } [XmlAttribute(AttributeName = "type")] public string? Type { get; set; } [XmlAttribute(AttributeName = "coord_x")] public int CoordX { get; set; } [XmlAttribute(AttributeName = "coord_y")] public int CoordY { get; set; } [XmlAttribute(AttributeName = "description")] public string? Description { get; set; } [XmlIgnore] public int CoordonnéeId { get; set; } } }