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

📄 abstracttroominfo.java

📁 基于hibernate + struts框架 采用mssql数据库,因容量原因,把lib删去了. 由于这是我第一个作品,有很多地方需要改进. 希望大家多提意见. qq: 258268936
💻 JAVA
字号:
/*
 * WARNING: DO NOT EDIT THIS FILE. This is a generated file that is synchronized
 * by MyEclipse Hibernate tool integration.
 *
 * Created Wed Nov 15 14:40:18 CST 2006 by MyEclipse Hibernate Tool.
 */
package com.hdlb.hibernate;

import java.io.Serializable;

/**
 * A class that represents a row in the t_roomInfo table. 
 * You can customize the behavior of this class by editing the class, {@link TRoominfo()}.
 * WARNING: DO NOT EDIT THIS FILE. This is a generated file that is synchronized
 * by MyEclipse Hibernate tool integration.
 */
public abstract class AbstractTRoominfo 
    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 fname property. */
    private java.lang.String fname;

    /** The value of the simple fmanager property. */
    private java.lang.String fmanager;

    /** The value of the simple ftel property. */
    private java.lang.String ftel;

    /** The value of the simple ftype property. */
    private java.lang.String ftype;

    /** The value of the simple fscore property. */
    private java.lang.Integer fscore;

    /**
     * Simple constructor of AbstractTRoominfo instances.
     */
    public AbstractTRoominfo()
    {
    }

    /**
     * Constructor of AbstractTRoominfo instances given a simple primary key.
     * @param fid
     */
    public AbstractTRoominfo(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 fname column.
     * @return java.lang.String
     */
    public java.lang.String getFname()
    {
        return this.fname;
    }

    /**
     * Set the value of the fname column.
     * @param fname
     */
    public void setFname(java.lang.String fname)
    {
        this.fname = fname;
    }

    /**
     * Return the value of the fmanager column.
     * @return java.lang.String
     */
    public java.lang.String getFmanager()
    {
        return this.fmanager;
    }

    /**
     * Set the value of the fmanager column.
     * @param fmanager
     */
    public void setFmanager(java.lang.String fmanager)
    {
        this.fmanager = fmanager;
    }

    /**
     * Return the value of the ftel column.
     * @return java.lang.String
     */
    public java.lang.String getFtel()
    {
        return this.ftel;
    }

    /**
     * Set the value of the ftel column.
     * @param ftel
     */
    public void setFtel(java.lang.String ftel)
    {
        this.ftel = ftel;
    }

    /**
     * Return the value of the ftype column.
     * @return java.lang.String
     */
    public java.lang.String getFtype()
    {
        return this.ftype;
    }

    /**
     * Set the value of the ftype column.
     * @param ftype
     */
    public void setFtype(java.lang.String ftype)
    {
        this.ftype = ftype;
    }

    /**
     * Return the value of the fscore column.
     * @return java.lang.Integer
     */
    public java.lang.Integer getFscore()
    {
        return this.fscore;
    }

    /**
     * Set the value of the fscore column.
     * @param fscore
     */
    public void setFscore(java.lang.Integer fscore)
    {
        this.fscore = fscore;
    }

    /**
     * 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 TRoominfo))
            return false;
        TRoominfo that = (TRoominfo) 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 + -