# Linaris_MAUI_SAE_201 ## Diagramme de classe ```plantuml @startuml class Artist { - string name + Artist(string name) + boolean Equals(object obj) + int GetHashCode() + string ToString() } class Album { - string name - string description - string imageURL - string information + Album(string name, string file_Name, Artist artist, string description, string information) + Album() + void AddTitle(Title title) + void RemoveTitle(Title title) + boolean Equals(object obj) + int GetHashCode() + string ToString() } class Playlist { - string name - string description - string imageURL - int index = 0 + boolean shuffle = false + boolean loop = false + boolean looptitle = false - List played + Playlist(string nom, string description, string imageURL) + Playlist() + void AddTitle(CustomTitle morceau) + void RemoveTitle(CustomTitle morceau) + void NextTitle() + void PreviousTitle() + Title? GetCurrentTitle() + boolean Equals(object? obj) + int GetHashCode() + string ToString() - int RandomGenerator(int n) } class Title { - string name - string imageURL - string information + Title(string nom, string file_Name, string informations) + boolean Equals(object? obj) + int GetHashCode() + string ToString() } enum Genre { HIP_HOP POP ROCK ELECTRO CLASSIQUE JAZZ VARIETE_FRANCAISE VARIETE_INTERNATIONALE REGGAE RAP RNB DISCO BLUES COUNTRY FUNK GOSPEL METAL K_POP } class CustomTitle { - string path + CustomTitle(string name, string imageURL, string information, string path) + CustomTitle() + boolean Equals(object? obj) + int GetHashCode() + string ToString() } Album --> "+ artist" Artist Album --> "- titles" Title Playlist --> "- titles" Title CustomTitle <|-- Title @enduml