Initial commit
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
#ifndef UPDATE_HALL_REQUEST_H
|
||||
#define UPDATE_HALL_REQUEST_H
|
||||
|
||||
#include <QString>
|
||||
|
||||
class UpdateHallRequest {
|
||||
private:
|
||||
QString hallName_; // Hall name
|
||||
qint32 capacity_; // Hall capacity
|
||||
qint32 hallId_; // Hall ID
|
||||
|
||||
public:
|
||||
// Constructors
|
||||
explicit UpdateHallRequest() = default;
|
||||
explicit UpdateHallRequest(const QString &hallName, qint32 capacity,
|
||||
qint32 hallId)
|
||||
: capacity_(capacity), hallId_(hallId), hallName_(hallName) {}
|
||||
|
||||
// Setters (inline methods)
|
||||
inline void setHallId(qint32 hallId) { hallId_ = hallId; }
|
||||
inline void setHallName(const QString &hallName) { hallName_ = hallName; }
|
||||
inline void setCapacity(qint32 capacity) { capacity_ = capacity; }
|
||||
|
||||
// Getters (inline methods)
|
||||
inline qint32 hallId() const { return hallId_; }
|
||||
inline QString hallName() const { return hallName_; }
|
||||
inline qint32 capacity() const { return capacity_; }
|
||||
};
|
||||
|
||||
#endif // UPDATE_HALL_REQUEST_H
|
||||
Reference in New Issue
Block a user