📄 abstracttuserrole.java
字号:
package com.oa.module.office.user;
/**
* AbstractTuserrole generated by MyEclipse - Hibernate Tools
*/
public abstract class AbstractTuserrole implements java.io.Serializable {
// Fields
private int hashValue = 0;
private String urid;
private String uno;
private long rid;
private Tuser user = null;
// Constructors
public Tuser getUser() {
return user;
}
public void setUser(Tuser user) {
this.user = user;
}
/** default constructor */
public AbstractTuserrole() {
}
/** full constructor */
public AbstractTuserrole(String uno, long rid) {
this.uno = uno;
this.rid = rid;
}
// Property accessors
public String getUrid() {
return this.urid;
}
public void setUrid(String urid) {
this.urid = urid;
}
public String getUno() {
return this.uno;
}
public void setUno(String uno) {
this.uno = uno;
}
public long getRid() {
return this.rid;
}
public void setRid(long rid) {
this.rid = rid;
}
public boolean equals(Object rhs) {
if (rhs == null)
return false;
if (!(rhs instanceof Tuserrole))
return false;
Tuserrole that = (Tuserrole) rhs;
if (this.getUrid() == null || that.getUrid() == null)
return false;
return (this.getUrid().equals(that.getUrid()));
}
public int hashCode() {
if (this.hashValue == 0) {
int result = 17;
int uridValue = this.getUrid() == null ? 0 : this.getUrid()
.hashCode();
result = result * 37 + uridValue;
this.hashValue = result;
}
return this.hashValue;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -