📄 checkmodel.java
字号:
package com.sxit.wap.usercheck;import java.sql.*;import java.util.*;import com.sxit.wap.common.*;import com.sxit.wap.exception.*;public class CheckModel implements java.io.Serializable { String mdn = ""; String oldMdn = ""; String substatus = ""; String oldSubstatus = ""; int status = 0; String serialno = ""; Timestamp opdate = null; String oprareaid = ""; String point = ""; public CheckModel(String mdn, String oldMdn, String substatus, String oldSubstatus, int status, String serialno, Timestamp opdate, String oprareaid, String point){ if (mdn == null) mdn = ""; this.mdn = mdn; if (oldMdn == null) oldMdn = ""; this.oldMdn = oldMdn; if (substatus == null) substatus = ""; this.substatus = substatus; if (oldSubstatus == null) oldSubstatus = ""; this.oldSubstatus = oldSubstatus; this.status = status; if (serialno == null) serialno = ""; this.serialno = serialno; this.opdate = opdate; if (oprareaid == null) oprareaid = ""; this.oprareaid = oprareaid; if (point == null) point = ""; this.point = point; } public CheckModel(){ } public String getMdn() { if (mdn == null) mdn = ""; return mdn; } public String getOldMdn() { if (oldMdn == null) oldMdn = ""; return oldMdn; } public String getSubstatus() { if (substatus == null) substatus = ""; return substatus; } public String getOldSubstatus() { if (oldSubstatus == null) oldSubstatus = ""; return oldSubstatus; } public int getStatus() { return status; } public String getSerialno() { if (serialno == null) serialno = ""; return serialno; } public Timestamp getOpdate() { return opdate; } public String getOprareaid() { if (oprareaid == null) oprareaid = ""; return oprareaid; } public String getPoint() { if (point == null) point = ""; return point; } public void setMdn(String mdn) { this.mdn = mdn; } public void setOldMdn(String oldMdn) { this.oldMdn = oldMdn; } public void setSubstatus(String substatus) { this.substatus = substatus; } public void setOldSubstatus(String oldSubstatus) { this.oldSubstatus = oldSubstatus; } public void setStatus(int status) { this.status = status; } public void setSerialno(String serialno) { this.serialno = serialno; } public void setOpdate(Timestamp opdate) { this.opdate = opdate; } public void setOprareaid(String oprareaid) { this.oprareaid = oprareaid; } public void setPoint(String point) { this.point = point; } public String toString() { String value = ""; value+= "mdn=" + mdn + "\n"; value+= "oldMdn=" + oldMdn + "\n"; value+= "substatus=" + substatus + "\n"; value+= "oldSubstatus=" + oldSubstatus + "\n"; value+= "status=" + status + "\n"; value+= "serialno=" + serialno + "\n"; value+= "opdate=" + opdate + "\n"; value+= "oprareaid=" + oprareaid + "\n"; value+= "point=" + point + "\n"; return value; } public void copy(CheckModel other) { this.setMdn(other.getMdn()); this.setOldMdn(other.getOldMdn()); this.setSubstatus(other.getSubstatus()); this.setOldSubstatus(other.getOldSubstatus()); this.setStatus(other.getStatus()); this.setSerialno(other.getSerialno()); this.setOpdate(other.getOpdate()); this.setOprareaid(other.getOprareaid()); this.setPoint(other.getPoint()); }}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -