📄 staffusermodel.java
字号:
package com.sxit.wap.staffuser;import java.sql.*;import java.util.*;import com.sxit.wap.common.*;import com.sxit.wap.exception.*;public class StaffUserModel implements java.io.Serializable { int userId = 0; String userName = ""; String userPwd = ""; int groupId = 0; Timestamp userRegdate = null; public StaffUserModel(int userId, String userName, String userPwd, int groupId, Timestamp userRegdate){ this.userId = userId; if (userName == null) userName = ""; this.userName = userName; if (userPwd == null) userPwd = ""; this.userPwd = userPwd; this.groupId = groupId; this.userRegdate = userRegdate; } public StaffUserModel(){ } public int getUserId() { return userId; } public String getUserName() { if (userName == null) userName = ""; return userName; } public String getUserPwd() { if (userPwd == null) userPwd = ""; return userPwd; } public int getGroupId() { return groupId; } public Timestamp getUserRegdate() { return userRegdate; } public void setUserId(int userId) { this.userId = userId; } public void setUserName(String userName) { this.userName = userName; } public void setUserPwd(String userPwd) { this.userPwd = userPwd; } public void setGroupId(int groupId) { this.groupId = groupId; } public void setUserRegdate(Timestamp userRegdate) { this.userRegdate = userRegdate; } public String toString() { String value = ""; value+= "userId=" + userId + "\n"; value+= "userName=" + userName + "\n"; value+= "userPwd=" + userPwd + "\n"; value+= "groupId=" + groupId + "\n"; value+= "userRegdate=" + userRegdate + "\n"; return value; } public void copy(StaffUserModel other) { this.setUserId(other.getUserId()); this.setUserName(other.getUserName()); this.setUserPwd(other.getUserPwd()); this.setGroupId(other.getGroupId()); this.setUserRegdate(other.getUserRegdate()); }}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -