📄 crmrolerightid.java
字号:
package com.csu.crm.common.vo;
/**
* CrmRoleRightId generated by MyEclipse Persistence Tools
*/
public class CrmRoleRightId implements java.io.Serializable {
// Fields
private CrmRole crmRole;
private CrmRight crmRight;
// Constructors
/** default constructor */
public CrmRoleRightId() {
}
/** full constructor */
public CrmRoleRightId(CrmRole crmRole, CrmRight crmRight) {
this.crmRole = crmRole;
this.crmRight = crmRight;
}
// Property accessors
public CrmRole getCrmRole() {
return this.crmRole;
}
public void setCrmRole(CrmRole crmRole) {
this.crmRole = crmRole;
}
public CrmRight getCrmRight() {
return this.crmRight;
}
public void setCrmRight(CrmRight crmRight) {
this.crmRight = crmRight;
}
public boolean equals(Object other) {
if ((this == other))
return true;
if ((other == null))
return false;
if (!(other instanceof CrmRoleRightId))
return false;
CrmRoleRightId castOther = (CrmRoleRightId) other;
return ((this.getCrmRole() == castOther.getCrmRole()) || (this
.getCrmRole() != null
&& castOther.getCrmRole() != null && this.getCrmRole().equals(
castOther.getCrmRole())))
&& ((this.getCrmRight() == castOther.getCrmRight()) || (this
.getCrmRight() != null
&& castOther.getCrmRight() != null && this
.getCrmRight().equals(castOther.getCrmRight())));
}
public int hashCode() {
int result = 17;
result = 37 * result
+ (getCrmRole() == null ? 0 : this.getCrmRole().hashCode());
result = 37 * result
+ (getCrmRight() == null ? 0 : this.getCrmRight().hashCode());
return result;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -