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

📄 questionboundtableid.java

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

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

public class QuestionboundTableId implements java.io.Serializable {

	// Fields

	private Integer questionboundid;
	private Integer userid;

	// Constructors

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

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

	// Property accessors

	public Integer getQuestionboundid() {
		return this.questionboundid;
	}

	public void setQuestionboundid(Integer questionboundid) {
		this.questionboundid = questionboundid;
	}

	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 QuestionboundTableId))
			return false;
		QuestionboundTableId castOther = (QuestionboundTableId) other;

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

	public int hashCode() {
		int result = 17;

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

}

⌨️ 快捷键说明

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