📄 truirsidvo.java
字号:
package com.galaxy.vo;
/**
* TrUiRsId generated by MyEclipse Persistence Tools
*/
public class TrUiRsIdVO implements java.io.Serializable {
// Fields
private TrainRecordVO trainRecord;
private UserInfoVO userInfo;
// Constructors
/** default constructor */
public TrUiRsIdVO() {
}
/** full constructor */
public TrUiRsIdVO(TrainRecordVO trainRecord, UserInfoVO userInfo) {
this.trainRecord = trainRecord;
this.userInfo = userInfo;
}
// Property accessors
public TrainRecordVO getTrainRecord() {
return this.trainRecord;
}
public void setTrainRecord(TrainRecordVO trainRecord) {
this.trainRecord = trainRecord;
}
public UserInfoVO getUserInfo() {
return this.userInfo;
}
public void setUserInfo(UserInfoVO userInfo) {
this.userInfo = userInfo;
}
public boolean equals(Object other) {
if ((this == other))
return true;
if ((other == null))
return false;
if (!(other instanceof TrUiRsIdVO))
return false;
TrUiRsIdVO castOther = (TrUiRsIdVO) other;
return ((this.getTrainRecord() == castOther.getTrainRecord()) || (this
.getTrainRecord() != null
&& castOther.getTrainRecord() != null && this.getTrainRecord()
.equals(castOther.getTrainRecord())))
&& ((this.getUserInfo() == castOther.getUserInfo()) || (this
.getUserInfo() != null
&& castOther.getUserInfo() != null && this
.getUserInfo().equals(castOther.getUserInfo())));
}
public int hashCode() {
int result = 17;
result = 37
* result
+ (getTrainRecord() == null ? 0 : this.getTrainRecord()
.hashCode());
result = 37 * result
+ (getUserInfo() == null ? 0 : this.getUserInfo().hashCode());
return result;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -