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