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

📄 questiontypetableid.java

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

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

public class QuestiontypeTableId implements java.io.Serializable {

	// Fields

	private Integer questiontypeid;
	private Integer userid;

	// Constructors

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

	/** full constructor */
	public QuestiontypeTableId(Integer questiontypeid, Integer userid) {
		this.questiontypeid = questiontypeid;
		this.userid = userid;
	}

	// Property accessors

	public Integer getQuestiontypeid() {
		return this.questiontypeid;
	}

	public void setQuestiontypeid(Integer questiontypeid) {
		this.questiontypeid = questiontypeid;
	}

	public Integer getUserid() {
		return this.userid;
	}

	public void setUserid(Integer userid) {
		this.userid = userid;
	}

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

		return ((this.getQuestiontypeid() == castOther.getQuestiontypeid()) || (this
				.getQuestiontypeid() != null
				&& castOther.getQuestiontypeid() != null && this
				.getQuestiontypeid().equals(castOther.getQuestiontypeid())))
				&& ((this.getUserid() == castOther.getUserid()) || (this
						.getUserid() != null
						&& castOther.getUserid() != null && this.getUserid()
						.equals(castOther.getUserid())));
	}

	public int hashCode() {
		int result = 17;

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

}

⌨️ 快捷键说明

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