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

📄 modifylogmodel.java

📁 WAP PUSH后台源码,WAP PUSH后台源码
💻 JAVA
字号:
package com.sxit.wap.modifylog;import java.sql.*;import java.util.*;import com.sxit.wap.common.*;import com.sxit.wap.exception.*;public class ModifyLogModel implements java.io.Serializable {  String tableName = "";  String operatorType = "";  String dataBeforeModify = "";  String dataAfterModify = "";  String hostip = "";  String modifyStaff = "";  Timestamp modifyTime = null;  String remark = "";  public ModifyLogModel(String tableName, String operatorType, String dataBeforeModify, String dataAfterModify, String hostip, String modifyStaff, Timestamp modifyTime, String remark){    if (tableName == null) tableName = "";    this.tableName = tableName;    if (operatorType == null) operatorType = "";    this.operatorType = operatorType;    if (dataBeforeModify == null) dataBeforeModify = "";    this.dataBeforeModify = dataBeforeModify;    if (dataAfterModify == null) dataAfterModify = "";    this.dataAfterModify = dataAfterModify;    if (hostip == null) hostip = "";    this.hostip = hostip;    if (modifyStaff == null) modifyStaff = "";    this.modifyStaff = modifyStaff;    this.modifyTime = modifyTime;    if (remark == null) remark = "";    this.remark = remark;  }  public ModifyLogModel(){  }  public String getTableName() {     if (tableName == null) tableName = "";     return tableName;  }  public String getOperatorType() {     if (operatorType == null) operatorType = "";     return operatorType;  }  public String getDataBeforeModify() {     if (dataBeforeModify == null) dataBeforeModify = "";     return dataBeforeModify;  }  public String getDataAfterModify() {     if (dataAfterModify == null) dataAfterModify = "";     return dataAfterModify;  }  public String getHostip() {     if (hostip == null) hostip = "";     return hostip;  }  public String getModifyStaff() {     if (modifyStaff == null) modifyStaff = "";     return modifyStaff;  }  public Timestamp getModifyTime() {     return modifyTime;  }  public String getRemark() {     if (remark == null) remark = "";     return remark;  }  public void setTableName(String tableName) {    this.tableName = tableName;  }  public void setOperatorType(String operatorType) {    this.operatorType = operatorType;  }  public void setDataBeforeModify(String dataBeforeModify) {    this.dataBeforeModify = dataBeforeModify;  }  public void setDataAfterModify(String dataAfterModify) {    this.dataAfterModify = dataAfterModify;  }  public void setHostip(String hostip) {    this.hostip = hostip;  }  public void setModifyStaff(String modifyStaff) {    this.modifyStaff = modifyStaff;  }  public void setModifyTime(Timestamp modifyTime) {    this.modifyTime = modifyTime;  }  public void setRemark(String remark) {    this.remark = remark;  }  public String toString() {    String value = "";    value+= "tableName=" + tableName + "\n";    value+= "operatorType=" + operatorType + "\n";    value+= "dataBeforeModify=" + dataBeforeModify + "\n";    value+= "dataAfterModify=" + dataAfterModify + "\n";    value+= "hostip=" + hostip + "\n";    value+= "modifyStaff=" + modifyStaff + "\n";    value+= "modifyTime=" + modifyTime + "\n";    value+= "remark=" + remark + "\n";    return value;  }  public void copy(ModifyLogModel other) {    this.setTableName(other.getTableName());    this.setOperatorType(other.getOperatorType());    this.setDataBeforeModify(other.getDataBeforeModify());    this.setDataAfterModify(other.getDataAfterModify());    this.setHostip(other.getHostip());    this.setModifyStaff(other.getModifyStaff());    this.setModifyTime(other.getModifyTime());    this.setRemark(other.getRemark());  }}

⌨️ 快捷键说明

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