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