|
|
|
@ -0,0 +1,38 @@
|
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Diagnostics;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
using static System.Runtime.InteropServices.JavaScript.JSType;
|
|
|
|
|
|
|
|
|
|
namespace Model
|
|
|
|
|
{
|
|
|
|
|
public class Espece
|
|
|
|
|
{
|
|
|
|
|
public string Nom { get; }
|
|
|
|
|
public string NomScientifique { get; }
|
|
|
|
|
//public int EsperanceVie { get; }
|
|
|
|
|
//public float PoidsMoyen { get; }
|
|
|
|
|
//public float TailleMoyenne { get; }
|
|
|
|
|
//public string Comportement { get; }
|
|
|
|
|
//public string Sante { get; }
|
|
|
|
|
//public string Education { get; }
|
|
|
|
|
//public string Entretien { get; }
|
|
|
|
|
//public string Cout { get; }
|
|
|
|
|
//public string Conseil { get; }
|
|
|
|
|
//public HashSet<Race> ListeRaces { get; } = new HashSet<Race>();
|
|
|
|
|
|
|
|
|
|
public Espece(string nom = "Inconnu", string nomScientifique = "Inconnu")
|
|
|
|
|
{
|
|
|
|
|
Nom = nom;
|
|
|
|
|
NomScientifique = nomScientifique;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public void AfficherEspece()
|
|
|
|
|
{
|
|
|
|
|
Console.WriteLine("Nom : " + Nom);
|
|
|
|
|
Console.WriteLine("Nom scientifique : " + NomScientifique);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|