Files

27 lines
735 B
C++
Raw Permalink Normal View History

2026-07-12 14:34:52 +04:00
#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