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

📄 truirsidvo.java

📁 J2ee开发的 人事管理系统 使用oracle数据库 myeclips平台开发
💻 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 + -