📄 abstractzrlogin.java
字号:
/* * WARNING: DO NOT EDIT THIS FILE. This is a generated file that is synchronized * by MyEclipse Hibernate tool integration. * * Created Sun Dec 04 21:21:10 CST 2005 by MyEclipse Hibernate Tool. */package com.zhurun.hibernate;import java.io.Serializable;/** * A class that represents a row in the zr_login table. * You can customize the behavior of this class by editing the class, {@link ZrLogin()}. * WARNING: DO NOT EDIT THIS FILE. This is a generated file that is synchronized * by MyEclipse Hibernate tool integration. */public abstract class AbstractZrLogin 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 userid; /** The value of the simple password property. */ private java.lang.String password; /** The value of the simple priviltype property. */ private java.lang.Integer priviltype; /** The value of the simple loginid property. */ private java.lang.Integer loginid; /** The value of the simple username property. */ private java.lang.String username; /** The value of the simple usermemo property. */ private java.lang.String usermemo; /** * Simple constructor of AbstractZrLogin instances. */ public AbstractZrLogin() { } /** * Constructor of AbstractZrLogin instances given a simple primary key. * @param userid */ public AbstractZrLogin(java.lang.Integer userid) { this.setUserid(userid); } /** * Return the simple primary key value that identifies this object. * @return java.lang.Integer */ public java.lang.Integer getUserid() { return userid; } /** * Set the simple primary key value that identifies this object. * @param userid */ public void setUserid(java.lang.Integer userid) { this.hashValue = 0; this.userid = userid; } /** * 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 priviltype column. * @return java.lang.Integer */ public java.lang.Integer getPriviltype() { return this.priviltype; } /** * Set the value of the priviltype column. * @param priviltype */ public void setPriviltype(java.lang.Integer priviltype) { this.priviltype = priviltype; } /** * Return the value of the loginid column. * @return java.lang.Integer */ public java.lang.Integer getLoginid() { return this.loginid; } /** * Set the value of the loginid column. * @param loginid */ public void setLoginid(java.lang.Integer loginid) { this.loginid = loginid; } /** * Return the value of the username column. * @return java.lang.String */ public java.lang.String getUsername() { return this.username; } /** * Set the value of the username column. * @param username */ public void setUsername(java.lang.String username) { this.username = username; } /** * Return the value of the usermemo column. * @return java.lang.String */ public java.lang.String getUsermemo() { return this.usermemo; } /** * Set the value of the usermemo column. * @param usermemo */ public void setUsermemo(java.lang.String usermemo) { this.usermemo = usermemo; } /** * 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 ZrLogin)) return false; ZrLogin that = (ZrLogin) rhs; if (this.getUserid() != null && that.getUserid() != null) { if (! this.getUserid().equals(that.getUserid())) { return false; } } return true; } /** * 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 useridValue = this.getUserid() == null ? 0 : this.getUserid().hashCode(); result = result * 37 + useridValue; this.hashValue = result; } return this.hashValue; }}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -