You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
39 lines
668 B
39 lines
668 B
package com.itbaizhan.orm;
|
|
|
|
public class TAdmin { // 管理员类
|
|
|
|
private int userId; // 管理员用户ID
|
|
private String userName; // 管理员用户名
|
|
private String userPw; // 管理员密码
|
|
|
|
// 得到管理员用户名
|
|
public String getUserName() {
|
|
return userName;
|
|
}
|
|
|
|
// 设置管理员用户名
|
|
public void setUserName(String userName) {
|
|
this.userName = userName;
|
|
}
|
|
|
|
// 得到管理员密码
|
|
public String getUserPw() {
|
|
return userPw;
|
|
}
|
|
|
|
// 设置管理员密码
|
|
public void setUserPw(String userPw) {
|
|
this.userPw = userPw;
|
|
}
|
|
|
|
// 得到管理员用户ID
|
|
public int getUserId() {
|
|
return userId;
|
|
}
|
|
|
|
// 设置管理员用户ID
|
|
public void setUserId(int userId) {
|
|
this.userId = userId;
|
|
}
|
|
}
|