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

📄 sresult.java

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

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


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

    /** identifier field */
    private Integer srId;

    /** persistent field */
    private String flag;

    /** persistent field */
    private int TApoint;

    /** persistent field */
    private String TSanswer;

    /** persistent field */
    private int TStatus;

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

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

    /** full constructor */
    public SResult(String flag, int TApoint, String TSanswer, int TStatus, cn.hope.mana.pojo.Student student, cn.hope.mana.pojo.TTest TTest) {
        this.flag = flag;
        this.TApoint = TApoint;
        this.TSanswer = TSanswer;
        this.TStatus = TStatus;
        this.student = student;
        this.TTest = TTest;
    }

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

    /** minimal constructor */
    public SResult(String flag, int TApoint, String TSanswer, int TStatus) {
        this.flag = flag;
        this.TApoint = TApoint;
        this.TSanswer = TSanswer;
        this.TStatus = TStatus;
    }

    public Integer getSrId() {
        return this.srId;
    }

    public void setSrId(Integer srId) {
        this.srId = srId;
    }

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

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

    public int getTApoint() {
        return this.TApoint;
    }

    public void setTApoint(int TApoint) {
        this.TApoint = TApoint;
    }

    public String getTSanswer() {
        return this.TSanswer;
    }

    public void setTSanswer(String TSanswer) {
        this.TSanswer = TSanswer;
    }

    public int getTStatus() {
        return this.TStatus;
    }

    public void setTStatus(int TStatus) {
        this.TStatus = TStatus;
    }

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

    public void setTTest(cn.hope.mana.pojo.TTest TTest) {
        this.TTest = TTest;
    }

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

}

⌨️ 快捷键说明

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