-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathUser.java
More file actions
40 lines (38 loc) · 1.09 KB
/
User.java
File metadata and controls
40 lines (38 loc) · 1.09 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
public class User{
private int userID;
private String username;
private String password;
private String firstname;
private String lastname;
private int SSN;
private String email;
private int phonenumber;
private String adress;
private String usertype;
public User(int userID, String username, String password, String firstname, String lastname, int SSN, String email, int phonenumber, String adress, String usertype) {
this.userID = userID;
this.username = username;
this.password = password;
this.firstname = firstname;
this.lastname = lastname;
this.SSN = SSN;
this.email = email;
this.phonenumber = phonenumber;
this.adress = adress;
this.usertype = usertype;
}
public void getUser() {
}
public boolean changePassword() {
return(true);
}
public boolean disableAccount() {
return(true);
}
public Feedback createFeedback() {
return(new Feedback(2, "Sämst"));
}
public boolean updateUserinfo() {
return(true);
}
}