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

📄 accessmodel.java

📁 WAP PUSH后台源码,WAP PUSH后台源码
💻 JAVA
字号:
package com.sxit.wap.access;import java.sql.*;import java.util.*;import com.sxit.wap.common.*;import com.sxit.wap.exception.*;public class AccessModel implements java.io.Serializable {  int id = 0;  String userMdn = "";  Timestamp visitTime = null;  Timestamp leaveTime = null;  int cpId = 0;  int channelId = 0;  int feeType = 0;  int feeCode = 0;  public AccessModel(int id, String userMdn, Timestamp visitTime, Timestamp leaveTime, int cpId, int channelId, int feeType, int feeCode){    this.id = id;    if (userMdn == null) userMdn = "";    this.userMdn = userMdn;    this.visitTime = visitTime;    this.leaveTime = leaveTime;    this.cpId = cpId;    this.channelId = channelId;    this.feeType = feeType;    this.feeCode = feeCode;  }  public AccessModel(){  }  public int getId() {     return id;  }  public String getUserMdn() {     if (userMdn == null) userMdn = "";     return userMdn;  }  public Timestamp getVisitTime() {     return visitTime;  }  public Timestamp getLeaveTime() {     return leaveTime;  }  public int getCpId() {     return cpId;  }  public int getChannelId() {     return channelId;  }  public int getFeeType() {     return feeType;  }  public int getFeeCode() {     return feeCode;  }  public void setId(int id) {    this.id = id;  }  public void setUserMdn(String userMdn) {    this.userMdn = userMdn;  }  public void setVisitTime(Timestamp visitTime) {    this.visitTime = visitTime;  }  public void setLeaveTime(Timestamp leaveTime) {    this.leaveTime = leaveTime;  }  public void setCpId(int cpId) {    this.cpId = cpId;  }  public void setChannelId(int channelId) {    this.channelId = channelId;  }  public void setFeeType(int feeType) {    this.feeType = feeType;  }  public void setFeeCode(int feeCode) {    this.feeCode = feeCode;  }  public String toString() {    String value = "";    value+= "id=" + id + "\n";    value+= "userMdn=" + userMdn + "\n";    value+= "visitTime=" + visitTime + "\n";    value+= "leaveTime=" + leaveTime + "\n";    value+= "cpId=" + cpId + "\n";    value+= "channelId=" + channelId + "\n";    value+= "feeType=" + feeType + "\n";    value+= "feeCode=" + feeCode + "\n";    return value;  }  public void copy(AccessModel other) {    this.setId(other.getId());    this.setUserMdn(other.getUserMdn());    this.setVisitTime(other.getVisitTime());    this.setLeaveTime(other.getLeaveTime());    this.setCpId(other.getCpId());    this.setChannelId(other.getChannelId());    this.setFeeType(other.getFeeType());    this.setFeeCode(other.getFeeCode());  }}

⌨️ 快捷键说明

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