📄 abstractuser.java
字号:
/*
* WARNING: DO NOT EDIT THIS FILE. This is a generated file that is synchronized
* by MyEclipse Hibernate tool integration.
*
* Created Wed Oct 24 16:51:18 CST 2007 by MyEclipse Hibernate Tool.
*/
package com.pegasus.framework.acl.pojo.vo;
import java.io.Serializable;
/**
* A class that represents a row in the user table.
* You can customize the behavior of this class by editing the class, {@link User()}.
* WARNING: DO NOT EDIT THIS FILE. This is a generated file that is synchronized
* by MyEclipse Hibernate tool integration.
*/
public abstract class AbstractUser
extends com.pegasus.framework.pojo.AbstractBusinessObject
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.Long id;
/** The value of the simple loginname property. */
private java.lang.String loginname;
/** The value of the simple password property. */
private java.lang.String password;
/** The value of the simple name property. */
private java.lang.String name;
/** The value of the simple description property. */
private java.lang.String description;
/** The value of the simple enDesc property. */
private java.lang.String enDesc;
/** The value of the simple employeeid property. */
private java.lang.Long employeeid;
/** The value of the simple corpId property. */
private java.lang.Long corpId;
/** The value of the simple corpName property. */
private java.lang.String corpName;
/** The value of the simple deptId property. */
private java.lang.Long deptId;
/** The value of the simple deptCode property. */
private java.lang.String deptCode;
/** The value of the simple deptName property. */
private java.lang.String deptName;
/** The value of the simple serviceCorp property. */
private java.lang.String serviceCorp;
/** The value of the simple email property. */
private java.lang.String email;
/**
* Simple constructor of AbstractUser instances.
*/
public AbstractUser()
{
}
/**
* Constructor of AbstractUser instances given a simple primary key.
* @param id
*/
public AbstractUser(java.lang.Long id)
{
this.setId(id);
}
/**
* Return the simple primary key value that identifies this object.
* @return java.lang.Long
*/
public java.lang.Long getId()
{
return id;
}
/**
* Set the simple primary key value that identifies this object.
* @param id
*/
public void setId(java.lang.Long id)
{
this.hashValue = 0;
this.id = id;
}
/**
* Return the value of the loginname column.
* @return java.lang.String
*/
public java.lang.String getLoginname()
{
return this.loginname;
}
/**
* Set the value of the loginname column.
* @param loginname
*/
public void setLoginname(java.lang.String loginname)
{
this.loginname = loginname;
}
/**
* Return the value of the password column.
* @return java.lang.String
*/
public java.lang.String getPassword()
{
return this.password;
}
/**
* Set the value of the password column.
* @param password
*/
public void setPassword(java.lang.String password)
{
this.password = password;
}
/**
* Return the value of the name column.
* @return java.lang.String
*/
public java.lang.String getName()
{
return this.name;
}
/**
* Set the value of the name column.
* @param name
*/
public void setName(java.lang.String name)
{
this.name = name;
}
/**
* Return the value of the description column.
* @return java.lang.String
*/
public java.lang.String getDescription()
{
return this.description;
}
/**
* Set the value of the description column.
* @param description
*/
public void setDescription(java.lang.String description)
{
this.description = description;
}
/**
* Return the value of the en_desc column.
* @return java.lang.String
*/
public java.lang.String getEnDesc()
{
return this.enDesc;
}
/**
* Set the value of the en_desc column.
* @param enDesc
*/
public void setEnDesc(java.lang.String enDesc)
{
this.enDesc = enDesc;
}
/**
* Return the value of the employeeid column.
* @return java.lang.Long
*/
public java.lang.Long getEmployeeid()
{
return this.employeeid;
}
/**
* Set the value of the employeeid column.
* @param employeeid
*/
public void setEmployeeid(java.lang.Long employeeid)
{
this.employeeid = employeeid;
}
/**
* Return the value of the corp_id column.
* @return java.lang.Long
*/
public java.lang.Long getCorpId()
{
return this.corpId;
}
/**
* Set the value of the corp_id column.
* @param corpId
*/
public void setCorpId(java.lang.Long corpId)
{
this.corpId = corpId;
}
/**
* Return the value of the corp_name column.
* @return java.lang.String
*/
public java.lang.String getCorpName()
{
return this.corpName;
}
/**
* Set the value of the corp_name column.
* @param corpName
*/
public void setCorpName(java.lang.String corpName)
{
this.corpName = corpName;
}
/**
* Return the value of the dept_id column.
* @return java.lang.Long
*/
public java.lang.Long getDeptId()
{
return this.deptId;
}
/**
* Set the value of the dept_id column.
* @param deptId
*/
public void setDeptId(java.lang.Long deptId)
{
this.deptId = deptId;
}
/**
* Return the value of the dept_code column.
* @return java.lang.String
*/
public java.lang.String getDeptCode()
{
return this.deptCode;
}
/**
* Set the value of the dept_code column.
* @param deptCode
*/
public void setDeptCode(java.lang.String deptCode)
{
this.deptCode = deptCode;
}
/**
* Return the value of the dept_name column.
* @return java.lang.String
*/
public java.lang.String getDeptName()
{
return this.deptName;
}
/**
* Set the value of the dept_name column.
* @param deptName
*/
public void setDeptName(java.lang.String deptName)
{
this.deptName = deptName;
}
/**
* Return the value of the service_corp column.
* @return java.lang.String
*/
public java.lang.String getServiceCorp()
{
return this.serviceCorp;
}
/**
* Set the value of the service_corp column.
* @param serviceCorp
*/
public void setServiceCorp(java.lang.String serviceCorp)
{
this.serviceCorp = serviceCorp;
}
/**
* Return the value of the email column.
* @return java.lang.String
*/
public java.lang.String getEmail()
{
return this.email;
}
/**
* Set the value of the email column.
* @param email
*/
public void setEmail(java.lang.String email)
{
this.email = email;
}
/**
* 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 User))
return false;
User that = (User) rhs;
if (this.getId() == null || that.getId() == null)
return false;
return (this.getId().equals(that.getId()));
}
/**
* 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 idValue = this.getId() == null ? 0 : this.getId().hashCode();
result = result * 37 + idValue;
this.hashValue = result;
}
return this.hashValue;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -