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