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