|
|
@ -4,9 +4,28 @@ using System.Linq;
|
|
|
|
using System.Text;
|
|
|
|
using System.Text;
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
|
|
namespace App.Models
|
|
|
|
namespace MauiApp1.Model
|
|
|
|
{
|
|
|
|
{
|
|
|
|
class Partition
|
|
|
|
public class Partition
|
|
|
|
{
|
|
|
|
{
|
|
|
|
|
|
|
|
public string Nom { get; private set; }
|
|
|
|
|
|
|
|
public int IdPartition { get; private set; }
|
|
|
|
|
|
|
|
public string Auteur { get; private set; }
|
|
|
|
|
|
|
|
public int Complexite { get; private set; }
|
|
|
|
|
|
|
|
public string Description { get; private set; }
|
|
|
|
|
|
|
|
public string Instrument { get; private set; }
|
|
|
|
|
|
|
|
public string Son { get; private set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public Partition(string nom, int idPartition, string auteur, int complexite, string description, string instrument, string son)
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
Nom = nom;
|
|
|
|
|
|
|
|
IdPartition = idPartition;
|
|
|
|
|
|
|
|
Auteur = auteur;
|
|
|
|
|
|
|
|
Complexite = complexite;
|
|
|
|
|
|
|
|
Description = description;
|
|
|
|
|
|
|
|
Instrument = instrument;
|
|
|
|
|
|
|
|
Son = son;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|