📄 orgid.java
字号:
package com.je.ims.hibernate;
/**
* OrgId generated by MyEclipse - Hibernate Tools
*/
public class OrgId implements java.io.Serializable {
// Fields
private Long year;
private String orgId;
private String orgName;
private Long orgType;
private Long orgLevel;
private Long orgOrder;
private Long orgDel;
// Constructors
/** default constructor */
public OrgId() {
}
// Property accessors
public Long getYear() {
return this.year;
}
public void setYear(Long year) {
this.year = year;
}
public String getOrgId() {
return this.orgId;
}
public void setOrgId(String orgId) {
this.orgId = orgId;
}
public String getOrgName() {
return this.orgName;
}
public void setOrgName(String orgName) {
this.orgName = orgName;
}
public Long getOrgType() {
return this.orgType;
}
public void setOrgType(Long orgType) {
this.orgType = orgType;
}
public Long getOrgLevel() {
return this.orgLevel;
}
public void setOrgLevel(Long orgLevel) {
this.orgLevel = orgLevel;
}
public Long getOrgOrder() {
return this.orgOrder;
}
public void setOrgOrder(Long orgOrder) {
this.orgOrder = orgOrder;
}
public Long getOrgDel() {
return this.orgDel;
}
public void setOrgDel(Long orgDel) {
this.orgDel = orgDel;
}
public boolean equals(Object other) {
if ( (this == other ) ) return true;
if ( (other == null ) ) return false;
if ( !(other instanceof OrgId) ) return false;
OrgId castOther = ( OrgId ) other;
return ( (this.getYear()==castOther.getYear()) || ( this.getYear()!=null && castOther.getYear()!=null && this.getYear().equals(castOther.getYear()) ) )
&& ( (this.getOrgId()==castOther.getOrgId()) || ( this.getOrgId()!=null && castOther.getOrgId()!=null && this.getOrgId().equals(castOther.getOrgId()) ) )
&& ( (this.getOrgName()==castOther.getOrgName()) || ( this.getOrgName()!=null && castOther.getOrgName()!=null && this.getOrgName().equals(castOther.getOrgName()) ) )
&& ( (this.getOrgType()==castOther.getOrgType()) || ( this.getOrgType()!=null && castOther.getOrgType()!=null && this.getOrgType().equals(castOther.getOrgType()) ) )
&& ( (this.getOrgLevel()==castOther.getOrgLevel()) || ( this.getOrgLevel()!=null && castOther.getOrgLevel()!=null && this.getOrgLevel().equals(castOther.getOrgLevel()) ) )
&& ( (this.getOrgOrder()==castOther.getOrgOrder()) || ( this.getOrgOrder()!=null && castOther.getOrgOrder()!=null && this.getOrgOrder().equals(castOther.getOrgOrder()) ) )
&& ( (this.getOrgDel()==castOther.getOrgDel()) || ( this.getOrgDel()!=null && castOther.getOrgDel()!=null && this.getOrgDel().equals(castOther.getOrgDel()) ) );
}
public int hashCode() {
int result = 17;
result = 37 * result + ( getYear() == null ? 0 : this.getYear().hashCode() );
result = 37 * result + ( getOrgId() == null ? 0 : this.getOrgId().hashCode() );
result = 37 * result + ( getOrgName() == null ? 0 : this.getOrgName().hashCode() );
result = 37 * result + ( getOrgType() == null ? 0 : this.getOrgType().hashCode() );
result = 37 * result + ( getOrgLevel() == null ? 0 : this.getOrgLevel().hashCode() );
result = 37 * result + ( getOrgOrder() == null ? 0 : this.getOrgOrder().hashCode() );
result = 37 * result + ( getOrgDel() == null ? 0 : this.getOrgDel().hashCode() );
return result;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -