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

📄 examtableid.java

📁 在线考试系统
💻 JAVA
字号:
package exam.dao;

/**
 * ExamTableId entity. @author MyEclipse Persistence Tools
 */

public class ExamTableId implements java.io.Serializable {

	// Fields

	private Integer examid;
	private Integer testpaperid;

	// Constructors

	/** default constructor */
	public ExamTableId() {
	}

	/** full constructor */
	public ExamTableId(Integer examid, Integer testpaperid) {
		this.examid = examid;
		this.testpaperid = testpaperid;
	}

	// Property accessors

	public Integer getExamid() {
		return this.examid;
	}

	public void setExamid(Integer examid) {
		this.examid = examid;
	}

	public Integer getTestpaperid() {
		return this.testpaperid;
	}

	public void setTestpaperid(Integer testpaperid) {
		this.testpaperid = testpaperid;
	}

	public boolean equals(Object other) {
		if ((this == other))
			return true;
		if ((other == null))
			return false;
		if (!(other instanceof ExamTableId))
			return false;
		ExamTableId castOther = (ExamTableId) other;

		return ((this.getExamid() == castOther.getExamid()) || (this
				.getExamid() != null
				&& castOther.getExamid() != null && this.getExamid().equals(
				castOther.getExamid())))
				&& ((this.getTestpaperid() == castOther.getTestpaperid()) || (this
						.getTestpaperid() != null
						&& castOther.getTestpaperid() != null && this
						.getTestpaperid().equals(castOther.getTestpaperid())));
	}

	public int hashCode() {
		int result = 17;

		result = 37 * result
				+ (getExamid() == null ? 0 : this.getExamid().hashCode());
		result = 37
				* result
				+ (getTestpaperid() == null ? 0 : this.getTestpaperid()
						.hashCode());
		return result;
	}

}

⌨️ 快捷键说明

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