chiefreportadditionid.java
来自「使用spring ,hibernate 框架的稽查管理系统」· Java 代码 · 共 70 行
JAVA
70 行
package com.je.ims.hibernate;
/**
* ChiefReportAdditionId generated by MyEclipse - Hibernate Tools
*/
public class ChiefReportAdditionId implements java.io.Serializable {
// Fields
private Long chiefReportAdditionId;
private Long orgReportId;
// Constructors
/** default constructor */
public ChiefReportAdditionId() {
}
// Property accessors
public Long getChiefReportAdditionId() {
return this.chiefReportAdditionId;
}
public void setChiefReportAdditionId(Long chiefReportAdditionId) {
this.chiefReportAdditionId = chiefReportAdditionId;
}
public Long getOrgReportId() {
return this.orgReportId;
}
public void setOrgReportId(Long orgReportId) {
this.orgReportId = orgReportId;
}
public boolean equals(Object other) {
if ( (this == other ) ) return true;
if ( (other == null ) ) return false;
if ( !(other instanceof ChiefReportAdditionId) ) return false;
ChiefReportAdditionId castOther = ( ChiefReportAdditionId ) other;
return ( (this.getChiefReportAdditionId()==castOther.getChiefReportAdditionId()) || ( this.getChiefReportAdditionId()!=null && castOther.getChiefReportAdditionId()!=null && this.getChiefReportAdditionId().equals(castOther.getChiefReportAdditionId()) ) )
&& ( (this.getOrgReportId()==castOther.getOrgReportId()) || ( this.getOrgReportId()!=null && castOther.getOrgReportId()!=null && this.getOrgReportId().equals(castOther.getOrgReportId()) ) );
}
public int hashCode() {
int result = 17;
result = 37 * result + ( getChiefReportAdditionId() == null ? 0 : this.getChiefReportAdditionId().hashCode() );
result = 37 * result + ( getOrgReportId() == null ? 0 : this.getOrgReportId().hashCode() );
return result;
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?