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

📄 abstracttrolefunction.java

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