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