1 #ifndef GDE_USER_GROUP_HPP
2 #define GDE_USER_GROUP_HPP
9 friend class UserService;
10 friend class GDESession;
15 inline int getId() const { return _id; }
16 inline void setId(int id) { this->_id = id; }
18 inline std::string getName() const { return _name; }
19 inline void setName(const std::string& name) { this->_name = name; }
22 UserGroup(int id=-1, const std::string& name="") : _id(id), _name(name) {}
23 UserGroup(const UserGroup&); // non copyable
24 UserGroup& operator=(const UserGroup&); // non copyable