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

📄 teach.java

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

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


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

    /** identifier field */
    private Integer thId;

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

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

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

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

    /** full constructor */
    public Teach(String flag, cn.hope.front.pojo.SClass SClass, cn.hope.front.pojo.CSubject CSubject, cn.hope.front.pojo.TInfo TInfo) {
        this.flag = flag;
        this.SClass = SClass;
        this.CSubject = CSubject;
        this.TInfo = TInfo;
    }

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

    public Integer getThId() {
        return this.thId;
    }

    public void setThId(Integer thId) {
        this.thId = thId;
    }

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

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

    public cn.hope.front.pojo.SClass getSClass() {
        return this.SClass;
    }

    public void setSClass(cn.hope.front.pojo.SClass SClass) {
        this.SClass = SClass;
    }

    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 String toString() {
        return new ToStringBuilder(this)
            .append("thId", getThId())
            .toString();
    }

}

⌨️ 快捷键说明

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