Initial commit
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
#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
|
||||
|
||||
Reference in New Issue
Block a user