AbstractTfunction.java
资源名称:(J2EE)oa.rar [点击查看]
上传用户:lm2018
上传日期:2015-12-12
资源大小:30449k
文件大小:1k
源码类别:
Jsp/Servlet
开发平台:
Java
- 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;
- }
- }