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