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