-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathUser.java
More file actions
41 lines (35 loc) · 775 Bytes
/
User.java
File metadata and controls
41 lines (35 loc) · 775 Bytes
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
41
package Model;
import java.io.Serializable;
public class User implements Serializable{
private String userName;
private boolean owner;
private String password;
public final String PRODUCT_OWNER = "PO";
public final String DEVLOPER = "DEV";
public User(String name, String password){
}
public String getUserName() {
return userName;
}
public void setUserName(String userName) {
this.userName = userName;
}
public String getPassword() {
return password;
}
public void setPassword(String password) {
this.password = password;
}
public String getPRODUCT_OWNER() {
return PRODUCT_OWNER;
}
public String getDEVLOPER() {
return DEVLOPER;
}
public void setOwner(boolean b) {
owner = b;
}
public boolean isOwner() {
return owner;
}
}