⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 groupmodel.java

📁 WAP PUSH后台源码,WAP PUSH后台源码
💻 JAVA
字号:
package com.sxit.wap.group;import java.sql.*;import java.util.*;import com.sxit.wap.common.*;import com.sxit.wap.exception.*;public class GroupModel implements java.io.Serializable {  int id = 0;  String groupName = "";  String groupPwd = "";  String groupDescribe = "";  Timestamp groupRegdate = null;  public GroupModel(int id, String groupName, String groupPwd, String groupDescribe, Timestamp groupRegdate){    this.id = id;    if (groupName == null) groupName = "";    this.groupName = groupName;    if (groupPwd == null) groupPwd = "";    this.groupPwd = groupPwd;    if (groupDescribe == null) groupDescribe = "";    this.groupDescribe = groupDescribe;    this.groupRegdate = groupRegdate;  }  public GroupModel(){  }  public int getId() {     return id;  }  public String getGroupName() {     if (groupName == null) groupName = "";     return groupName;  }  public String getGroupPwd() {     if (groupPwd == null) groupPwd = "";     return groupPwd;  }  public String getGroupDescribe() {     if (groupDescribe == null) groupDescribe = "";     return groupDescribe;  }  public Timestamp getGroupRegdate() {     return groupRegdate;  }  public void setId(int id) {    this.id = id;  }  public void setGroupName(String groupName) {    this.groupName = groupName;  }  public void setGroupPwd(String groupPwd) {    this.groupPwd = groupPwd;  }  public void setGroupDescribe(String groupDescribe) {    this.groupDescribe = groupDescribe;  }  public void setGroupRegdate(Timestamp groupRegdate) {    this.groupRegdate = groupRegdate;  }  public String toString() {    String value = "";    value+= "id=" + id + "\n";    value+= "groupName=" + groupName + "\n";    value+= "groupPwd=" + groupPwd + "\n";    value+= "groupDescribe=" + groupDescribe + "\n";    value+= "groupRegdate=" + groupRegdate + "\n";    return value;  }  public void copy(GroupModel other) {    this.setId(other.getId());    this.setGroupName(other.getGroupName());    this.setGroupPwd(other.getGroupPwd());    this.setGroupDescribe(other.getGroupDescribe());    this.setGroupRegdate(other.getGroupRegdate());  }}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -