groupusermodel.java

来自「WAP PUSH后台源码,WAP PUSH后台源码」· Java 代码 · 共 64 行

JAVA
64
字号
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 + =
减小字号Ctrl + -
显示快捷键?