⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 abstracttdept.java

📁 基于J2EE的办公自动化系统。实现流程定义流程办理等。运用了hibernate+struts+spring框架综合运用的系统。
💻 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 + -