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

📄 cfourm.java

📁 持久层hibernate技术使用的一个例子
💻 JAVA
字号:
package cn.hope.mana.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 CFourm implements Serializable {

    /** identifier field */
    private Integer TTopicid;

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

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

    /** nullable persistent field */
    private Integer TRestore;

    /** persistent field */
    private Date TTime;

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

    /** persistent field */
    private String TTopicname;

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

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

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

    /** persistent field */
    private Set CRefourms;

    /** full constructor */
    public CFourm(String flag, String TBadge, Integer TRestore, Date TTime, String TTopiccontent, String TTopicname, cn.hope.mana.pojo.CFlevel2 CFlevel2, cn.hope.mana.pojo.Student student, cn.hope.mana.pojo.TInfo TInfo, Set CRefourms) {
        this.flag = flag;
        this.TBadge = TBadge;
        this.TRestore = TRestore;
        this.TTime = TTime;
        this.TTopiccontent = TTopiccontent;
        this.TTopicname = TTopicname;
        this.CFlevel2 = CFlevel2;
        this.student = student;
        this.TInfo = TInfo;
        this.CRefourms = CRefourms;
    }

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

    /** minimal constructor */
    public CFourm(Date TTime, String TTopicname, Set CRefourms) {
        this.TTime = TTime;
        this.TTopicname = TTopicname;
        this.CRefourms = CRefourms;
    }

    public Integer getTTopicid() {
        return this.TTopicid;
    }

    public void setTTopicid(Integer TTopicid) {
        this.TTopicid = TTopicid;
    }

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

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

    public String getTBadge() {
        return this.TBadge;
    }

    public void setTBadge(String TBadge) {
        this.TBadge = TBadge;
    }

    public Integer getTRestore() {
        return this.TRestore;
    }

    public void setTRestore(Integer TRestore) {
        this.TRestore = TRestore;
    }

    public Date getTTime() {
        return this.TTime;
    }

    public void setTTime(Date TTime) {
        this.TTime = TTime;
    }

    public String getTTopiccontent() {
        return this.TTopiccontent;
    }

    public void setTTopiccontent(String TTopiccontent) {
        this.TTopiccontent = TTopiccontent;
    }

    public String getTTopicname() {
        return this.TTopicname;
    }

    public void setTTopicname(String TTopicname) {
        this.TTopicname = TTopicname;
    }

    public cn.hope.mana.pojo.CFlevel2 getCFlevel2() {
        return this.CFlevel2;
    }

    public void setCFlevel2(cn.hope.mana.pojo.CFlevel2 CFlevel2) {
        this.CFlevel2 = CFlevel2;
    }

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

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

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

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

    public Set getCRefourms() {
        return this.CRefourms;
    }

    public void setCRefourms(Set CRefourms) {
        this.CRefourms = CRefourms;
    }

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

}

⌨️ 快捷键说明

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