📄 abstracttrolefunction.java
字号:
package com.oa.module.office.role;
/**
* AbstractTrolefunction generated by MyEclipse - Hibernate Tools
*/
public abstract class AbstractTrolefunction implements java.io.Serializable {
// Fields
private int hashValue = 0;
private String rfid;
private long rid;
private long fid;
private Trole role = null;
// Constructors
public Trole getRole() {
return role;
}
public void setRole(Trole role) {
this.role = role;
}
/** default constructor */
public AbstractTrolefunction() {
}
/** full constructor */
public AbstractTrolefunction(long rid, long fid) {
this.rid = rid;
this.fid = fid;
}
// Property accessors
public String getRfid() {
return this.rfid;
}
public void setRfid(String rfid) {
this.rfid = rfid;
}
public long getRid() {
return this.rid;
}
public void setRid(long rid) {
this.rid = rid;
}
public long getFid() {
return this.fid;
}
public void setFid(long fid) {
this.fid = fid;
}
public boolean equals(Object rhs) {
if (rhs == null)
return false;
if (!(rhs instanceof Trolefunction))
return false;
Trolefunction that = (Trolefunction) rhs;
if (this.getRfid() == null || that.getRfid() == null)
return false;
return (this.getRfid().equals(that.getRfid()));
}
public int hashCode() {
if (this.hashValue == 0) {
int result = 17;
int rfidValue = this.getRfid() == null ? 0 : this.getRfid()
.hashCode();
result = result * 37 + rfidValue;
this.hashValue = result;
}
return this.hashValue;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -