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

📄 running_numberkey.java

📁 j2ee源码
💻 JAVA
字号:
package com.leeman.wkexs.common.dao;
/**
 * Key class for Entity Bean: Running_Number
 */
public class Running_NumberKey implements java.io.Serializable {
	static final long serialVersionUID = 3206093459760846163L;
	/**
	 * Implementation field for persistent attribute: company_id
	 */
	public java.lang.String company_id;
	/**
	 * Implementation field for persistent attribute: running_type
	 */
	public java.lang.String running_type;
	/**
	 * Implementation field for persistent attribute: running_year
	 */
	public java.lang.String running_year;
	/**
	 * Creates an empty key for Entity Bean: Running_Number
	 */
	public Running_NumberKey() {
	}
	/**
	 * Creates a key for Entity Bean: Running_Number
	 */
	public Running_NumberKey(
		java.lang.String company_id,
		java.lang.String running_type,
		java.lang.String running_year) {
		this.company_id = company_id;
		this.running_type = running_type;
		this.running_year = running_year;
	}
	/**
	 * Returns true if both keys are equal.
	 */
	public boolean equals(java.lang.Object otherKey) {
		if (otherKey
			instanceof com.leeman.wkexs.common.dao.Running_NumberKey) {
			com.leeman.wkexs.common.dao.Running_NumberKey o =
				(com.leeman.wkexs.common.dao.Running_NumberKey) otherKey;
			return (
				(this.company_id.equals(o.company_id))
					&& (this.running_type.equals(o.running_type))
					&& (this.running_year.equals(o.running_year)));
		}
		return false;
	}
	/**
	 * Returns the hash code for the key.
	 */
	public int hashCode() {
		return (
			company_id.hashCode()
				+ running_type.hashCode()
				+ running_year.hashCode());
	}
}

⌨️ 快捷键说明

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