📄 newsortid.java
字号:
package com.oa.companyculture.db;
/**
* NewsortId generated by MyEclipse - Hibernate Tools
*/
public class NewsortId implements java.io.Serializable {
// Fields
private Integer id;
private String sortid;
// Constructors
/** default constructor */
public NewsortId() {
}
/** full constructor */
public NewsortId(Integer id, String sortid) {
this.id = id;
this.sortid = sortid;
}
// Property accessors
public Integer getId() {
return this.id;
}
public void setId(Integer id) {
this.id = id;
}
public String getSortid() {
return this.sortid;
}
public void setSortid(String sortid) {
this.sortid = sortid;
}
public boolean equals(Object other) {
if ( (this == other ) ) return true;
if ( (other == null ) ) return false;
if ( !(other instanceof NewsortId) ) return false;
NewsortId castOther = ( NewsortId ) other;
return ( (this.getId()==castOther.getId()) || ( this.getId()!=null && castOther.getId()!=null && this.getId().equals(castOther.getId()) ) ) && ( (this.getSortid()==castOther.getSortid()) || ( this.getSortid()!=null && castOther.getSortid()!=null && this.getSortid().equals(castOther.getSortid()) ) );
}
public int hashCode() {
int result = 17;
result = 37 * result + ( getId() == null ? 0 : this.getId().hashCode() );
result = 37 * result + ( getSortid() == null ? 0 : this.getSortid().hashCode() );
return result;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -