UserInfo.java
1.26 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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
package com.huaheng.wms.bean;
import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Generated;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.NotNull;
@Entity
public class UserInfo {
@Id
private long _id;
@NotNull
private String name;
@NotNull
private String password;
@Generated(hash = 1799425718)
public UserInfo(long _id, @NotNull String name, @NotNull String password) {
this._id = _id;
this.name = name;
this.password = password;
}
@Generated(hash = 1279772520)
public UserInfo() {
}
public long get_id() {
return this._id;
}
public void set_id(long _id) {
this._id = _id;
}
public String getName() {
return this.name;
}
public void setName(String name) {
this.name = name;
}
public String getPassword() {
return this.password;
}
public void setPassword(String password) {
this.password = password;
}
@Override
public String toString() {
return "UserInfo{" +
"_id=" + _id +
", name='" + name + '\'' +
", password='" + password + '\'' +
'}';
}
}