9 friend class UserService;
14 inline int getId() const { return _id; }
15 inline void setId(int id) { this->_id = id; }
17 inline std::string getName() const { return _name; }
18 inline void setName(const std::string& name) { this->_name = name; }
20 inline std::string getPassword() const { return _password; }
21 inline void setPassword(const std::string& password) { this->_password = password; }
24 User(int id=-1, std::string name="", std::string password="")
25 : _id(id), _name(name), _password(password) {}
26 User(const User&); // non copyable
27 User& operator=(const User&); // non copyable
32 std::string _password;