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

📄 cpmodel.java

📁 WAP PUSH后台源码,WAP PUSH后台源码
💻 JAVA
字号:
package com.sxit.wap.cp;import java.sql.*;import java.util.*;import com.sxit.wap.common.*;import com.sxit.wap.exception.*;public class CpModel implements java.io.Serializable {  int id = 0;  String cpName = "";  String cpPwd = "";  String cpAddr = "";  String cpEmail = "";  String cpDescribe = "";  int cpStatus = 0;  Timestamp regDate = null;  String cpTel = "";  String cpContact = "";  String clientTel = "";  public CpModel(int id, String cpName, String cpPwd, String cpAddr, String cpEmail, String cpDescribe, int cpStatus, Timestamp regDate, String cpTel, String cpContact, String clientTel){    this.id = id;    if (cpName == null) cpName = "";    this.cpName = cpName;    if (cpPwd == null) cpPwd = "";    this.cpPwd = cpPwd;    if (cpAddr == null) cpAddr = "";    this.cpAddr = cpAddr;    if (cpEmail == null) cpEmail = "";    this.cpEmail = cpEmail;    if (cpDescribe == null) cpDescribe = "";    this.cpDescribe = cpDescribe;    this.cpStatus = cpStatus;    this.regDate = regDate;    if (cpTel == null) cpTel = "";    this.cpTel = cpTel;    if (cpContact == null) cpContact = "";    this.cpContact = cpContact;    if (clientTel == null) clientTel = "";    this.clientTel = clientTel;  }  public CpModel(){  }  public int getId() {     return id;  }  public String getCpName() {     if (cpName == null) cpName = "";     return cpName;  }  public String getCpPwd() {     if (cpPwd == null) cpPwd = "";     return cpPwd;  }  public String getCpAddr() {     if (cpAddr == null) cpAddr = "";     return cpAddr;  }  public String getCpEmail() {     if (cpEmail == null) cpEmail = "";     return cpEmail;  }  public String getCpDescribe() {     if (cpDescribe == null) cpDescribe = "";     return cpDescribe;  }  public int getCpStatus() {     return cpStatus;  }  public Timestamp getRegDate() {     return regDate;  }  public String getCpTel() {     if (cpTel == null) cpTel = "";     return cpTel;  }  public String getCpContact() {     if (cpContact == null) cpContact = "";     return cpContact;  }  public String getClientTel() {     if (clientTel == null) clientTel = "";     return clientTel;  }  public void setId(int id) {    this.id = id;  }  public void setCpName(String cpName) {    this.cpName = cpName;  }  public void setCpPwd(String cpPwd) {    this.cpPwd = cpPwd;  }  public void setCpAddr(String cpAddr) {    this.cpAddr = cpAddr;  }  public void setCpEmail(String cpEmail) {    this.cpEmail = cpEmail;  }  public void setCpDescribe(String cpDescribe) {    this.cpDescribe = cpDescribe;  }  public void setCpStatus(int cpStatus) {    this.cpStatus = cpStatus;  }  public void setRegDate(Timestamp regDate) {    this.regDate = regDate;  }  public void setCpTel(String cpTel) {    this.cpTel = cpTel;  }  public void setCpContact(String cpContact) {    this.cpContact = cpContact;  }  public void setClientTel(String clientTel) {    this.clientTel = clientTel;  }  public String toString() {    String value = "";    value+= "id=" + id + "\n";    value+= "cpName=" + cpName + "\n";    value+= "cpPwd=" + cpPwd + "\n";    value+= "cpAddr=" + cpAddr + "\n";    value+= "cpEmail=" + cpEmail + "\n";    value+= "cpDescribe=" + cpDescribe + "\n";    value+= "cpStatus=" + cpStatus + "\n";    value+= "regDate=" + regDate + "\n";    value+= "cpTel=" + cpTel + "\n";    value+= "cpContact=" + cpContact + "\n";    value+= "clientTel=" + clientTel + "\n";    return value;  }  public void copy(CpModel other) {    this.setId(other.getId());    this.setCpName(other.getCpName());    this.setCpPwd(other.getCpPwd());    this.setCpAddr(other.getCpAddr());    this.setCpEmail(other.getCpEmail());    this.setCpDescribe(other.getCpDescribe());    this.setCpStatus(other.getCpStatus());    this.setRegDate(other.getRegDate());    this.setCpTel(other.getCpTel());    this.setCpContact(other.getCpContact());    this.setClientTel(other.getClientTel());  }}

⌨️ 快捷键说明

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