text: //
  // Created by Mor on 03/06/2020.
  //
  
  #ifndef WET2_ARTIST_H
  #define WET2_ARTIST_H
  
  
  #include "Tree.h"
  #include "Song.h"
  #include "TwoParamKey.h"
  
  class Artist {
  private:
      int artistID;
      int numberOfSongs;
      Song *bestSong;
      Tree<Song> songsByIdTree;
      RankTree<TwoParamKey, Song> songsByPlaysTree;
  
  public:
      explicit Artist(int artistID);
  
      int getArtistId() const;
  
      int getNumberOfSongs() const;
  
      Song *getBestSong() const;
  
      Tree<Song> &getSongsByIdTree();
  
      RankTree<TwoParamKey, Song> &getSongsByPlaysTree();
  
      void setArtistId(int artistId);
  
      void setNumberOfSongs(int numberOfSongs);
  
      void setBestSong(Song *bestSong);
  
      void compareNumberOfSongs();
  
      ~Artist() = default;
  
  
  };
  
  
  #endif //WET2_ARTIST_H
  