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

📄 tblog.java

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

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


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

    /** identifier field */
    private Integer tbId;

    /** persistent field */
    private String flag;

    /** persistent field */
    private int TArticlequ;

    /** persistent field */
    private String tbCon;

    /** persistent field */
    private Date tbTime;

    /** persistent field */
    private String tbTitle;

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

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

    /** persistent field */
    private Set TReblogs;

    /** full constructor */
    public TBlog(String flag, int TArticlequ, String tbCon, Date tbTime, String tbTitle, cn.hope.front.pojo.TInfo TInfo, cn.hope.front.pojo.TBlogtype TBlogtype, Set TReblogs) {
        this.flag = flag;
        this.TArticlequ = TArticlequ;
        this.tbCon = tbCon;
        this.tbTime = tbTime;
        this.tbTitle = tbTitle;
        this.TInfo = TInfo;
        this.TBlogtype = TBlogtype;
        this.TReblogs = TReblogs;
    }

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

    /** minimal constructor */
    public TBlog(String flag, int TArticlequ, String tbCon, Date tbTime, String tbTitle, Set TReblogs) {
        this.flag = flag;
        this.TArticlequ = TArticlequ;
        this.tbCon = tbCon;
        this.tbTime = tbTime;
        this.tbTitle = tbTitle;
        this.TReblogs = TReblogs;
    }

    public Integer getTbId() {
        return this.tbId;
    }

    public void setTbId(Integer tbId) {
        this.tbId = tbId;
    }

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

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

    public int getTArticlequ() {
        return this.TArticlequ;
    }

    public void setTArticlequ(int TArticlequ) {
        this.TArticlequ = TArticlequ;
    }

    public String getTbCon() {
        return this.tbCon;
    }

    public void setTbCon(String tbCon) {
        this.tbCon = tbCon;
    }

    public Date getTbTime() {
        return this.tbTime;
    }

    public void setTbTime(Date tbTime) {
        this.tbTime = tbTime;
    }

    public String getTbTitle() {
        return this.tbTitle;
    }

    public void setTbTitle(String tbTitle) {
        this.tbTitle = tbTitle;
    }

    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.TBlogtype getTBlogtype() {
        return this.TBlogtype;
    }

    public void setTBlogtype(cn.hope.front.pojo.TBlogtype TBlogtype) {
        this.TBlogtype = TBlogtype;
    }

    public Set getTReblogs() {
        return this.TReblogs;
    }

    public void setTReblogs(Set TReblogs) {
        this.TReblogs = TReblogs;
    }

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

}

⌨️ 快捷键说明

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