📄 bookusermodel.java
字号:
package com.sxit.wap.bookuser;import java.sql.*;import java.util.*;import com.sxit.wap.common.*;import com.sxit.wap.exception.*;public class BookUserModel implements java.io.Serializable { String userMdn = ""; long cardId = 0L; Timestamp regDate = null; long regType = 0L; String userPwd = ""; public BookUserModel(String userMdn, long cardId, Timestamp regDate, long regType, String userPwd){ if (userMdn == null) userMdn = ""; this.userMdn = userMdn; this.cardId = cardId; this.regDate = regDate; this.regType = regType; if (userPwd == null) userPwd = ""; this.userPwd = userPwd; } public BookUserModel(){ } public String getUserMdn() { if (userMdn == null) userMdn = ""; return userMdn; } public long getCardId() { return cardId; } public Timestamp getRegDate() { return regDate; } public long getRegType() { return regType; } public String getUserPwd() { if (userPwd == null) userPwd = ""; return userPwd; } public void setUserMdn(String userMdn) { this.userMdn = userMdn; } public void setCardId(long cardId) { this.cardId = cardId; } public void setRegDate(Timestamp regDate) { this.regDate = regDate; } public void setRegType(long regType) { this.regType = regType; } public void setUserPwd(String userPwd) { this.userPwd = userPwd; } public String toString() { String value = ""; value+= "userMdn=" + userMdn + "\n"; value+= "cardId=" + cardId + "\n"; value+= "regDate=" + regDate + "\n"; value+= "regType=" + regType + "\n"; value+= "userPwd=" + userPwd + "\n"; return value; } public void copy(BookUserModel other) { this.setUserMdn(other.getUserMdn()); this.setCardId(other.getCardId()); this.setRegDate(other.getRegDate()); this.setRegType(other.getRegType()); this.setUserPwd(other.getUserPwd()); }}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -