27 lines
735 B
C++
27 lines
735 B
C++
|
|
#ifndef CREATE_HALL_REQUEST_H
|
||
|
|
#define CREATE_HALL_REQUEST_H
|
||
|
|
|
||
|
|
#include <QString>
|
||
|
|
|
||
|
|
class CreateHallRequest {
|
||
|
|
private:
|
||
|
|
QString hallName_; // Hall name
|
||
|
|
qint32 capacity_; // Hall capacity
|
||
|
|
|
||
|
|
public:
|
||
|
|
// Constructors
|
||
|
|
explicit CreateHallRequest() = default;
|
||
|
|
explicit CreateHallRequest(const QString &hallName, qint32 capacity)
|
||
|
|
: hallName_(hallName), capacity_(capacity) {}
|
||
|
|
|
||
|
|
// Setters (inline methods)
|
||
|
|
inline void setHallName(const QString &hallName) { hallName_ = hallName; }
|
||
|
|
inline void setCapacity(qint32 capacity) { capacity_ = capacity; }
|
||
|
|
|
||
|
|
// Getters (inline methods)
|
||
|
|
inline QString hallName() const { return hallName_; }
|
||
|
|
inline qint32 capacity() const { return capacity_; }
|
||
|
|
};
|
||
|
|
|
||
|
|
#endif // CREATE_HALL_REQUEST_H
|