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

📄 thomework.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 THomework implements Serializable {

    /** identifier field */
    private Integer THwid;

    /** persistent field */
    private String flag;

    /** persistent field */
    private Date THwdate;

    /** persistent field */
    private Date THwsdate;

    /** persistent field */
    private String THwtitle;

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

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

    /** persistent field */
    private Set SRehws;

    /** persistent field */
    private Set TClassHws;

    /** full constructor */
    public THomework(String flag, Date THwdate, Date THwsdate, String THwtitle, cn.hope.front.pojo.CSubject CSubject, cn.hope.front.pojo.TInfo TInfo, Set SRehws, Set TClassHws) {
        this.flag = flag;
        this.THwdate = THwdate;
        this.THwsdate = THwsdate;
        this.THwtitle = THwtitle;
        this.CSubject = CSubject;
        this.TInfo = TInfo;
        this.SRehws = SRehws;
        this.TClassHws = TClassHws;
    }

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

    /** minimal constructor */
    public THomework(String flag, Date THwdate, Date THwsdate, String THwtitle, Set SRehws, Set TClassHws) {
        this.flag = flag;
        this.THwdate = THwdate;
        this.THwsdate = THwsdate;
        this.THwtitle = THwtitle;
        this.SRehws = SRehws;
        this.TClassHws = TClassHws;
    }

    public Integer getTHwid() {
        return this.THwid;
    }

    public void setTHwid(Integer THwid) {
        this.THwid = THwid;
    }

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

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

    public Date getTHwdate() {
        return this.THwdate;
    }

    public void setTHwdate(Date THwdate) {
        this.THwdate = THwdate;
    }

    public Date getTHwsdate() {
        return this.THwsdate;
    }

    public void setTHwsdate(Date THwsdate) {
        this.THwsdate = THwsdate;
    }

    public String getTHwtitle() {
        return this.THwtitle;
    }

    public void setTHwtitle(String THwtitle) {
        this.THwtitle = THwtitle;
    }

    public cn.hope.front.pojo.CSubject getCSubject() {
        return this.CSubject;
    }

    public void setCSubject(cn.hope.front.pojo.CSubject CSubject) {
        this.CSubject = CSubject;
    }

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

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

    public Set getSRehws() {
        return this.SRehws;
    }

    public void setSRehws(Set SRehws) {
        this.SRehws = SRehws;
    }

    public Set getTClassHws() {
        return this.TClassHws;
    }

    public void setTClassHws(Set TClassHws) {
        this.TClassHws = TClassHws;
    }

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

}

⌨️ 快捷键说明

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