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

📄 tfile.java

📁 持久层hibernate技术使用的一个例子
💻 JAVA
字号:
package cn.hope.mana.pojo;

import java.io.Serializable;
import java.util.Date;
import org.apache.commons.lang.builder.ToStringBuilder;


/** @author Hibernate CodeGenerator */
public class TFile implements Serializable {

    /** identifier field */
    private Integer tfId;

    /** persistent field */
    private String flag;

    /** persistent field */
    private int tfDtimes;

    /** nullable persistent field */
    private String tfIntro;

    /** persistent field */
    private String tfName;

    /** persistent field */
    private String tfPath;

    /** persistent field */
    private Date tfTime;

    /** nullable persistent field */
    private cn.hope.mana.pojo.TFileType2 TFileType2;

    /** nullable persistent field */
    private cn.hope.mana.pojo.TInfo TInfo;

    /** full constructor */
    public TFile(String flag, int tfDtimes, String tfIntro, String tfName, String tfPath, Date tfTime, cn.hope.mana.pojo.TFileType2 TFileType2, cn.hope.mana.pojo.TInfo TInfo) {
        this.flag = flag;
        this.tfDtimes = tfDtimes;
        this.tfIntro = tfIntro;
        this.tfName = tfName;
        this.tfPath = tfPath;
        this.tfTime = tfTime;
        this.TFileType2 = TFileType2;
        this.TInfo = TInfo;
    }

    /** default constructor */
    public TFile() {
    }

    /** minimal constructor */
    public TFile(String flag, int tfDtimes, String tfName, String tfPath, Date tfTime) {
        this.flag = flag;
        this.tfDtimes = tfDtimes;
        this.tfName = tfName;
        this.tfPath = tfPath;
        this.tfTime = tfTime;
    }

    public Integer getTfId() {
        return this.tfId;
    }

    public void setTfId(Integer tfId) {
        this.tfId = tfId;
    }

    public String getFlag() {
        return this.flag;
    }

    public void setFlag(String flag) {
        this.flag = flag;
    }

    public int getTfDtimes() {
        return this.tfDtimes;
    }

    public void setTfDtimes(int tfDtimes) {
        this.tfDtimes = tfDtimes;
    }

    public String getTfIntro() {
        return this.tfIntro;
    }

    public void setTfIntro(String tfIntro) {
        this.tfIntro = tfIntro;
    }

    public String getTfName() {
        return this.tfName;
    }

    public void setTfName(String tfName) {
        this.tfName = tfName;
    }

    public String getTfPath() {
        return this.tfPath;
    }

    public void setTfPath(String tfPath) {
        this.tfPath = tfPath;
    }

    public Date getTfTime() {
        return this.tfTime;
    }

    public void setTfTime(Date tfTime) {
        this.tfTime = tfTime;
    }

    public cn.hope.mana.pojo.TFileType2 getTFileType2() {
        return this.TFileType2;
    }

    public void setTFileType2(cn.hope.mana.pojo.TFileType2 TFileType2) {
        this.TFileType2 = TFileType2;
    }

    public cn.hope.mana.pojo.TInfo getTInfo() {
        return this.TInfo;
    }

    public void setTInfo(cn.hope.mana.pojo.TInfo TInfo) {
        this.TInfo = TInfo;
    }

    public String toString() {
        return new ToStringBuilder(this)
            .append("tfId", getTfId())
            .toString();
    }

}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -