using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Model
{
    public class Morceau
    {
        public string Nom { get; set; }

        public string File_Name { get; set; }

        public string Artiste { get; set; }

        public string Description { get; set; }

        public string Informations { get; set; }

        public IEnumerable<Artiste> feat { get; set; }

        public Morceau(string nom, string file_Name, string artiste, string description, string informations)
        {
            Nom = nom;
            File_Name = file_Name;
            Artiste = artiste;
            Description = description;
            Informations = informations;
            feat = new List<Artiste>();
        }

        public void addFeat(Artiste artiste)
        {
            feat.Prepend(artiste);
        }
    }
}
