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

📄 tquestion.java

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

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


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

    /** identifier field */
    private Integer tqId;

    /** persistent field */
    private String flag;

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

    /** persistent field */
    private String tqName;

    /** persistent field */
    private int tqNumber;

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

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

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

    /** persistent field */
    private Set TTests;

    /** full constructor */
    public TQuestion(String flag, String tqAnswer, String tqName, int tqNumber, cn.hope.front.pojo.TInfo TInfo, cn.hope.front.pojo.TQtype TQtype, cn.hope.front.pojo.CSubject CSubject, Set TTests) {
        this.flag = flag;
        this.tqAnswer = tqAnswer;
        this.tqName = tqName;
        this.tqNumber = tqNumber;
        this.TInfo = TInfo;
        this.TQtype = TQtype;
        this.CSubject = CSubject;
        this.TTests = TTests;
    }

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

    /** minimal constructor */
    public TQuestion(String flag, String tqName, int tqNumber, Set TTests) {
        this.flag = flag;
        this.tqName = tqName;
        this.tqNumber = tqNumber;
        this.TTests = TTests;
    }

    public Integer getTqId() {
        return this.tqId;
    }

    public void setTqId(Integer tqId) {
        this.tqId = tqId;
    }

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

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

    public String getTqAnswer() {
        return this.tqAnswer;
    }

    public void setTqAnswer(String tqAnswer) {
        this.tqAnswer = tqAnswer;
    }

    public String getTqName() {
        return this.tqName;
    }

    public void setTqName(String tqName) {
        this.tqName = tqName;
    }

    public int getTqNumber() {
        return this.tqNumber;
    }

    public void setTqNumber(int tqNumber) {
        this.tqNumber = tqNumber;
    }

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

    public void setTQtype(cn.hope.front.pojo.TQtype TQtype) {
        this.TQtype = TQtype;
    }

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

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

    public Set getTTests() {
        return this.TTests;
    }

    public void setTTests(Set TTests) {
        this.TTests = TTests;
    }

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

}

⌨️ 快捷键说明

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