📄 role_dtlkey.java
字号:
package com.leeman.wkexs.master.rolemgt.dao;
/**
* Key class for Entity Bean: Role_Dtl
*/
public class Role_DtlKey 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;
/**
* Implementation field for persistent attribute: program_id
*/
public java.lang.String program_id;
/**
* Implementation field for persistent attribute: priv_id
*/
public java.lang.String priv_id;
/**
* Creates an empty key for Entity Bean: Role_Dtl
*/
public Role_DtlKey() {
}
/**
* Creates a key for Entity Bean: Role_Dtl
*/
public Role_DtlKey(
java.lang.String company_id,
java.lang.String role_id,
java.lang.String program_id,
java.lang.String priv_id) {
this.company_id = company_id;
this.role_id = role_id;
this.program_id = program_id;
this.priv_id = priv_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_DtlKey) {
com.leeman.wkexs.master.rolemgt.dao.Role_DtlKey o =
(com.leeman.wkexs.master.rolemgt.dao.Role_DtlKey) otherKey;
return (
(this.company_id.equals(o.company_id))
&& (this.role_id.equals(o.role_id))
&& (this.program_id.equals(o.program_id))
&& (this.priv_id.equals(o.priv_id)));
}
return false;
}
/**
* Returns the hash code for the key.
*/
public int hashCode() {
return (
company_id.hashCode()
+ role_id.hashCode()
+ program_id.hashCode()
+ priv_id.hashCode());
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -