namespace Model { public class Personnage { public string Nom { get; set; } public double Prime { get; set; } public string Epithete { get; set; } public int Age { get; set; } public double Taille { get; set; } public string Origine { get; set; } public string Biographie { get; set; } public string Citation { get; set; } public Equipage? Equipage { get; set; } public List Fruit { get; set; } = new List(); public string? Image { get; set; } public Personnage(string nom, double prime, string epithete, int age, double taille, string origine, string biographie, string citation, string image) { Nom = nom; Prime = prime; Epithete = epithete; Age = age; Taille = taille; Origine = origine; Biographie = biographie; Citation = citation; Image = image; } public Personnage(string nom, double prime, string epithete, int age, double taille, string origine, string biographie, string citation,string image ,Equipage equipage,List fruit) : this(nom,prime,epithete,age,taille,origine,biographie,citation,image) { Equipage = equipage; Fruit = fruit; } } }