📄 abstracttdept.java
字号:
package com.oa.module.office.dept;
/**
* 部门持久类的抽象类
* @author czpeng
*
*/
public abstract class AbstractTdept implements java.io.Serializable {
// Fields
private int hashValue = 0;
private String did;
private String dname;
private long uno;
private String dfunction;
private String dmemo;
private String dflag;
// Constructors
/** default constructor */
public AbstractTdept() {
}
/** full constructor */
public AbstractTdept(String dname, long uno, String dfunction,
String dmemo, String dflag) {
this.dname = dname;
this.uno = uno;
this.dfunction = dfunction;
this.dmemo = dmemo;
this.dflag = dflag;
}
// Property accessors
public String getDid() {
return this.did;
}
public void setDid(String did) {
this.did = did;
}
public String getDname() {
return this.dname;
}
public void setDname(String dname) {
this.dname = dname;
}
public long getUno() {
return this.uno;
}
public void setUno(long uno) {
this.uno = uno;
}
public String getDfunction() {
return this.dfunction;
}
public void setDfunction(String dfunction) {
this.dfunction = dfunction;
}
public String getDmemo() {
return this.dmemo;
}
public void setDmemo(String dmemo) {
this.dmemo = dmemo;
}
public String getDflag() {
return this.dflag;
}
public void setDflag(String dflag) {
this.dflag = dflag;
}
public boolean equals(Object rhs) {
if (rhs == null)
return false;
if (!(rhs instanceof Tdept))
return false;
Tdept that = (Tdept) rhs;
if (this.getDid() == null || that.getDid() == null)
return false;
return (this.getDid().equals(that.getDid()));
}
public int hashCode() {
if (this.hashValue == 0) {
int result = 17;
int didValue = this.getDid() == null ? 0 : this.getDid().hashCode();
result = result * 37 + didValue;
this.hashValue = result;
}
return this.hashValue;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -