📄 bulletinfileid.java
字号:
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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -