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

📄 role_hdrkey.java

📁 j2ee源码
💻 JAVA
字号:
package com.leeman.wkexs.master.rolemgt.dao;
/**
 * Key class for Entity Bean: Role_Hdr
 */
public class Role_HdrKey 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: role_id
	 */
	public java.lang.String role_id;
	/**
	 * Creates an empty key for Entity Bean: Role_Hdr
	 */
	public Role_HdrKey() {
	}
	/**
	 * Creates a key for Entity Bean: Role_Hdr
	 */
	public Role_HdrKey(java.lang.String company_id, java.lang.String role_id) {
		this.company_id = company_id;
		this.role_id = role_id;
	}
	/**
	 * Returns true if both keys are equal.
	 */
	public boolean equals(java.lang.Object otherKey) {
		if (otherKey
			instanceof com.leeman.wkexs.master.rolemgt.dao.Role_HdrKey) {
			com.leeman.wkexs.master.rolemgt.dao.Role_HdrKey o =
				(com.leeman.wkexs.master.rolemgt.dao.Role_HdrKey) otherKey;
			return (
				(this.company_id.equals(o.company_id))
					&& (this.role_id.equals(o.role_id)));
		}
		return false;
	}
	/**
	 * Returns the hash code for the key.
	 */
	public int hashCode() {
		return (company_id.hashCode() + role_id.hashCode());
	}
}

⌨️ 快捷键说明

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