25 lines
553 B
C++
25 lines
553 B
C++
|
|
#ifndef CREATE_GENRE_REQUEST_H
|
||
|
|
#define CREATE_GENRE_REQUEST_H
|
||
|
|
|
||
|
|
#include <QString>
|
||
|
|
|
||
|
|
class CreateGenreRequest {
|
||
|
|
private:
|
||
|
|
QString genreName_; // Genre name
|
||
|
|
|
||
|
|
public:
|
||
|
|
// Constructors
|
||
|
|
explicit CreateGenreRequest() = default;
|
||
|
|
explicit CreateGenreRequest(const QString &genreName)
|
||
|
|
: genreName_(genreName) {}
|
||
|
|
|
||
|
|
// Setters (inline methods)
|
||
|
|
inline void setGenreName(const QString &genreName) { genreName_ = genreName; }
|
||
|
|
|
||
|
|
// Getters (inline methods)
|
||
|
|
inline QString genreName() const { return genreName_; }
|
||
|
|
};
|
||
|
|
|
||
|
|
#endif // CREATE_GENRE_REQUEST_H
|
||
|
|
|