abstracttfunction.java

来自「基于J2EE的办公自动化系统。实现流程定义流程办理等。运用了hibernate+」· Java 代码 · 共 84 行

JAVA
84
字号
package com.oa.module.office.role;

/**
 * AbstractTfunction generated by MyEclipse - Hibernate Tools
 */

public abstract class AbstractTfunction implements java.io.Serializable {

	// Fields

	private long fid;

	private String fname;

	private long fpid;

	private String fmemo;

	// Constructors

	/** default constructor */
	public AbstractTfunction() {
	}

	/** full constructor */
	public AbstractTfunction(String fname, long fpid, String fmemo) {
		this.fname = fname;
		this.fpid = fpid;
		this.fmemo = fmemo;
	}

	// Property accessors

	public long getFid() {
		return this.fid;
	}

	public void setFid(long fid) {
		this.fid = fid;
	}

	public String getFname() {
		return this.fname;
	}

	public void setFname(String fname) {
		this.fname = fname;
	}

	public long getFpid() {
		return this.fpid;
	}

	public void setFpid(long fpid) {
		this.fpid = fpid;
	}

	public String getFmemo() {
		return this.fmemo;
	}

	public void setFmemo(String fmemo) {
		this.fmemo = fmemo;
	}


	public boolean equals(Object rhs) {
		if (rhs == null)
			return false;
		if (!(rhs instanceof Tfunction))
			return false;
		Tfunction that = (Tfunction) rhs;
		if (this.getFid() == 0 || that.getFid() == 0)
			return false;
		return (this.getFid()==that.getFid());
	}

	public int hashCode() {
				
		return (int) this.fid;
	}
	
	
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?