📄 abstracttuser.java
字号:
/*
* WARNING: DO NOT EDIT THIS FILE. This is a generated file that is synchronized
* by MyEclipse Hibernate tool integration.
*
* Created Wed Nov 01 14:44:17 CST 2006 by MyEclipse Hibernate Tool.
*/
package com.hdlb.hibernate;
import java.io.Serializable;
/**
* A class that represents a row in the t_user table.
* You can customize the behavior of this class by editing the class, {@link TUser()}.
* WARNING: DO NOT EDIT THIS FILE. This is a generated file that is synchronized
* by MyEclipse Hibernate tool integration.
*/
public abstract class AbstractTUser
implements Serializable
{
/** The cached hash code value for this instance. Settting to 0 triggers re-calculation. */
private int hashValue = 0;
/** The composite primary key value. */
private java.lang.Integer fid;
/** The value of the simple fuserid property. */
private java.lang.Integer fuserid;
/** The value of the simple fpwd property. */
private java.lang.String fpwd;
/** The value of the simple frightid property. */
private java.lang.Integer frightid;
/** The value of the simple fseckey property. */
private java.lang.String fseckey;
/** The value of the simple froom property. */
private java.lang.String froom;
/**
* Simple constructor of AbstractTUser instances.
*/
public AbstractTUser()
{
}
/**
* Constructor of AbstractTUser instances given a simple primary key.
* @param fid
*/
public AbstractTUser(java.lang.Integer fid)
{
this.setFid(fid);
}
/**
* Return the simple primary key value that identifies this object.
* @return java.lang.Integer
*/
public java.lang.Integer getFid()
{
return fid;
}
/**
* Set the simple primary key value that identifies this object.
* @param fid
*/
public void setFid(java.lang.Integer fid)
{
this.hashValue = 0;
this.fid = fid;
}
/**
* Return the value of the fuserId column.
* @return java.lang.Integer
*/
public java.lang.Integer getFuserid()
{
return this.fuserid;
}
/**
* Set the value of the fuserId column.
* @param fuserid
*/
public void setFuserid(java.lang.Integer fuserid)
{
this.fuserid = fuserid;
}
/**
* Return the value of the fpwd column.
* @return java.lang.String
*/
public java.lang.String getFpwd()
{
return this.fpwd;
}
/**
* Set the value of the fpwd column.
* @param fpwd
*/
public void setFpwd(java.lang.String fpwd)
{
this.fpwd = fpwd;
}
/**
* Return the value of the frightId column.
* @return java.lang.Integer
*/
public java.lang.Integer getFrightid()
{
return this.frightid;
}
/**
* Set the value of the frightId column.
* @param frightid
*/
public void setFrightid(java.lang.Integer frightid)
{
this.frightid = frightid;
}
/**
* Return the value of the fsecKey column.
* @return java.lang.String
*/
public java.lang.String getFseckey()
{
return this.fseckey;
}
/**
* Set the value of the fsecKey column.
* @param fseckey
*/
public void setFseckey(java.lang.String fseckey)
{
this.fseckey = fseckey;
}
/**
* Return the value of the froom column.
* @return java.lang.String
*/
public java.lang.String getFroom()
{
return this.froom;
}
/**
* Set the value of the froom column.
* @param froom
*/
public void setFroom(java.lang.String froom)
{
this.froom = froom;
}
/**
* Implementation of the equals comparison on the basis of equality of the primary key values.
* @param rhs
* @return boolean
*/
public boolean equals(Object rhs)
{
if (rhs == null)
return false;
if (! (rhs instanceof TUser))
return false;
TUser that = (TUser) rhs;
if (this.getFid() == null || that.getFid() == null)
return false;
return (this.getFid().equals(that.getFid()));
}
/**
* Implementation of the hashCode method conforming to the Bloch pattern with
* the exception of array properties (these are very unlikely primary key types).
* @return int
*/
public int hashCode()
{
if (this.hashValue == 0)
{
int result = 17;
int fidValue = this.getFid() == null ? 0 : this.getFid().hashCode();
result = result * 37 + fidValue;
this.hashValue = result;
}
return this.hashValue;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -