📄 agentid.java
字号:
package com.je.ims.hibernate;
/**
* AgentId generated by MyEclipse - Hibernate Tools
*/
public class AgentId implements java.io.Serializable {
// Fields
private Long roleTypeId;
private String roleId;
private String userId;
private String agentId;
// Constructors
/** default constructor */
public AgentId() {
}
// Property accessors
public Long getRoleTypeId() {
return this.roleTypeId;
}
public void setRoleTypeId(Long roleTypeId) {
this.roleTypeId = roleTypeId;
}
public String getRoleId() {
return this.roleId;
}
public void setRoleId(String roleId) {
this.roleId = roleId;
}
public String getUserId() {
return this.userId;
}
public void setUserId(String userId) {
this.userId = userId;
}
public String getAgentId() {
return this.agentId;
}
public void setAgentId(String agentId) {
this.agentId = agentId;
}
public boolean equals(Object other) {
if ( (this == other ) ) return true;
if ( (other == null ) ) return false;
if ( !(other instanceof AgentId) ) return false;
AgentId castOther = ( AgentId ) other;
return ( (this.getRoleTypeId()==castOther.getRoleTypeId()) || ( this.getRoleTypeId()!=null && castOther.getRoleTypeId()!=null && this.getRoleTypeId().equals(castOther.getRoleTypeId()) ) )
&& ( (this.getRoleId()==castOther.getRoleId()) || ( this.getRoleId()!=null && castOther.getRoleId()!=null && this.getRoleId().equals(castOther.getRoleId()) ) )
&& ( (this.getUserId()==castOther.getUserId()) || ( this.getUserId()!=null && castOther.getUserId()!=null && this.getUserId().equals(castOther.getUserId()) ) )
&& ( (this.getAgentId()==castOther.getAgentId()) || ( this.getAgentId()!=null && castOther.getAgentId()!=null && this.getAgentId().equals(castOther.getAgentId()) ) );
}
public int hashCode() {
int result = 17;
result = 37 * result + ( getRoleTypeId() == null ? 0 : this.getRoleTypeId().hashCode() );
result = 37 * result + ( getRoleId() == null ? 0 : this.getRoleId().hashCode() );
result = 37 * result + ( getUserId() == null ? 0 : this.getUserId().hashCode() );
result = 37 * result + ( getAgentId() == null ? 0 : this.getAgentId().hashCode() );
return result;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -