Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class User {
- int UserId;
- String username;
- String password;
- boolean isAdmin;
- public User(String username, String password, int UserId, boolean isAdmin) {
- this.username = username;
- this.password = password;
- this.UserId= UserId;
- this.isAdmin = isAdmin;
- }
- public int getId() {
- return this.UserId;
- }
- public boolean isAdmin() {
- return isAdmin;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement