Skip to main content

Artist, Manager and Album

Artist

Represents a musical artist.

  • Can have multiple albums
  • Can have a manager
  • Method to add albums to their collection
  • Private properties have getters and setters

Manager

Represents an artist's manager.

  • Manages one or more artists
  • rate: Management fee or commission rate
  • Private properties have getters and setters

Album

Represents a music album.

  • Created by an artist
  • titre: Album title
  • nbTracks: Number of tracks on the album
  • Private properties have getters and setters