MCPcopy Create free account
hub / github.com/EthanWang-cn/JavaWeb_Mall / User

Class User

src/main/java/smbms/pojo/User.java:3–53  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1package smbms.pojo;
2
3public class User {
4 private int uid;
5 private String username;
6 private String pwd;
7 private String uname;
8
9 public User() {
10 }
11
12 public int getUid() {
13 return uid;
14 }
15
16 public void setUid(int uid) {
17 this.uid = uid;
18 }
19
20 public String getUsername() {
21 return username;
22 }
23
24 public void setUsername(String username) {
25 this.username = username;
26 }
27
28 public String getPwd() {
29 return pwd;
30 }
31
32 public void setPwd(String pwd) {
33 this.pwd = pwd;
34 }
35
36 public String getUname() {
37 return uname;
38 }
39
40 public void setUname(String uname) {
41 this.uname = uname;
42 }
43
44 @Override
45 public String toString() {
46 return "User{" +
47 "uid=" + uid +
48 ", username='" + username + '\'' +
49 ", pwd='" + pwd + '\'' +
50 ", uname='" + uname + '\'' +
51 '}';
52 }
53}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected