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

📄 booktermmodel.java

📁 WAP PUSH后台源码,WAP PUSH后台源码
💻 JAVA
字号:
package com.sxit.wap.bookterm;import java.sql.*;import java.util.*;import com.sxit.wap.common.*;import com.sxit.wap.exception.*;public class BookTermModel implements java.io.Serializable {  long id = 0L;  String termName = "";  String userMdn = "";  String termAttr = "";  Timestamp regDate = null;  long regType = 0L;  public BookTermModel(long id, String termName, String userMdn, String termAttr, Timestamp regDate, long regType){    this.id = id;    if (termName == null) termName = "";    this.termName = termName;    if (userMdn == null) userMdn = "";    this.userMdn = userMdn;    if (termAttr == null) termAttr = "";    this.termAttr = termAttr;    this.regDate = regDate;    this.regType = regType;  }  public BookTermModel(){  }  public long getId() {     return id;  }  public String getTermName() {     if (termName == null) termName = "";     return termName;  }  public String getUserMdn() {     if (userMdn == null) userMdn = "";     return userMdn;  }  public String getTermAttr() {     if (termAttr == null) termAttr = "";     return termAttr;  }  public Timestamp getRegDate() {     return regDate;  }  public long getRegType() {     return regType;  }  public void setId(long id) {    this.id = id;  }  public void setTermName(String termName) {    this.termName = termName;  }  public void setUserMdn(String userMdn) {    this.userMdn = userMdn;  }  public void setTermAttr(String termAttr) {    this.termAttr = termAttr;  }  public void setRegDate(Timestamp regDate) {    this.regDate = regDate;  }  public void setRegType(long regType) {    this.regType = regType;  }  public String toString() {    String value = "";    value+= "id=" + id + "\n";    value+= "termName=" + termName + "\n";    value+= "userMdn=" + userMdn + "\n";    value+= "termAttr=" + termAttr + "\n";    value+= "regDate=" + regDate + "\n";    value+= "regType=" + regType + "\n";    return value;  }  public void copy(BookTermModel other) {    this.setId(other.getId());    this.setTermName(other.getTermName());    this.setUserMdn(other.getUserMdn());    this.setTermAttr(other.getTermAttr());    this.setRegDate(other.getRegDate());    this.setRegType(other.getRegType());  }}

⌨️ 快捷键说明

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