📄 usersubmodel.java
字号:
package com.sxit.wap.usersub;import java.sql.*;import java.util.*;import com.sxit.wap.common.*;import com.sxit.wap.exception.*;public class UserSubModel implements java.io.Serializable { String userMdn = ""; int channelId = 0; Timestamp subDate = null; Timestamp endDate = null; int feeType = 0; int feeCode = 0; int subStatus = 0; int isCancel = 0; public UserSubModel(String userMdn, int channelId, Timestamp subDate, Timestamp endDate, int feeType, int feeCode, int subStatus, int isCancel){ if (userMdn == null) userMdn = ""; this.userMdn = userMdn; this.channelId = channelId; this.subDate = subDate; this.endDate = endDate; this.feeType = feeType; this.feeCode = feeCode; this.subStatus = subStatus; this.isCancel = isCancel; } public UserSubModel(){ } public String getUserMdn() { if (userMdn == null) userMdn = ""; return userMdn; } public int getChannelId() { return channelId; } public Timestamp getSubDate() { return subDate; } public Timestamp getEndDate() { return endDate; } public int getFeeType() { return feeType; } public int getFeeCode() { return feeCode; } public int getSubStatus() { return subStatus; } public int getIsCancel() { return isCancel; } public void setUserMdn(String userMdn) { this.userMdn = userMdn; } public void setChannelId(int channelId) { this.channelId = channelId; } public void setSubDate(Timestamp subDate) { this.subDate = subDate; } public void setEndDate(Timestamp endDate) { this.endDate = endDate; } public void setFeeType(int feeType) { this.feeType = feeType; } public void setFeeCode(int feeCode) { this.feeCode = feeCode; } public void setSubStatus(int subStatus) { this.subStatus = subStatus; } public void setIsCancel(int isCancel) { this.isCancel = isCancel; } public String toString() { String value = ""; value+= "userMdn=" + userMdn + "\n"; value+= "channelId=" + channelId + "\n"; value+= "subDate=" + subDate + "\n"; value+= "endDate=" + endDate + "\n"; value+= "feeType=" + feeType + "\n"; value+= "feeCode=" + feeCode + "\n"; value+= "subStatus=" + subStatus + "\n"; value+= "isCancel=" + isCancel + "\n"; return value; } public void copy(UserSubModel other) { this.setUserMdn(other.getUserMdn()); this.setChannelId(other.getChannelId()); this.setSubDate(other.getSubDate()); this.setEndDate(other.getEndDate()); this.setFeeType(other.getFeeType()); this.setFeeCode(other.getFeeCode()); this.setSubStatus(other.getSubStatus()); this.setIsCancel(other.getIsCancel()); }}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -