using System.Xml.Serialization; namespace Domain.XML_Model { [Serializable] [XmlRoot(ElementName = "mutations")] public class Mutation : 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 = "effet")] public string? Effet { get; set; } [XmlAttribute(AttributeName = "seuil_min")] public int SeuilMin { get; set; } [XmlAttribute(AttributeName = "seuil_max")] public int SeuilMax { get; set; } [XmlAttribute(AttributeName = "description")] public string? Description { get; set; } [XmlIgnoreAttribute] public int MutationId { get; set; } } }