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

📄 treblog.java

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

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


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

    /** identifier field */
    private Integer trId;

    /** persistent field */
    private String flag;

    /** persistent field */
    private String trCon;

    /** persistent field */
    private Date trTime;

    /** nullable persistent field */
    private cn.hope.front.pojo.TBlog TBlog;

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

    /** nullable persistent field */
    private cn.hope.front.pojo.Student student;

    /** full constructor */
    public TReblog(String flag, String trCon, Date trTime, cn.hope.front.pojo.TBlog TBlog, cn.hope.front.pojo.TInfo TInfo, cn.hope.front.pojo.Student student) {
        this.flag = flag;
        this.trCon = trCon;
        this.trTime = trTime;
        this.TBlog = TBlog;
        this.TInfo = TInfo;
        this.student = student;
    }

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

    /** minimal constructor */
    public TReblog(String flag, String trCon, Date trTime) {
        this.flag = flag;
        this.trCon = trCon;
        this.trTime = trTime;
    }

    public Integer getTrId() {
        return this.trId;
    }

    public void setTrId(Integer trId) {
        this.trId = trId;
    }

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

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

    public String getTrCon() {
        return this.trCon;
    }

    public void setTrCon(String trCon) {
        this.trCon = trCon;
    }

    public Date getTrTime() {
        return this.trTime;
    }

    public void setTrTime(Date trTime) {
        this.trTime = trTime;
    }

    public cn.hope.front.pojo.TBlog getTBlog() {
        return this.TBlog;
    }

    public void setTBlog(cn.hope.front.pojo.TBlog TBlog) {
        this.TBlog = TBlog;
    }

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

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

    public cn.hope.front.pojo.Student getStudent() {
        return this.student;
    }

    public void setStudent(cn.hope.front.pojo.Student student) {
        this.student = student;
    }

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

}

⌨️ 快捷键说明

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