sresult.java

来自「持久层hibernate技术使用的一个例子」· Java 代码 · 共 116 行

JAVA
116
字号
package cn.hope.front.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.front.pojo.Student student;

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

    /** full constructor */
    public SResult(String flag, int TApoint, String TSanswer, int TStatus, cn.hope.front.pojo.Student student, cn.hope.front.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.front.pojo.Student getStudent() {
        return this.student;
    }

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

    public cn.hope.front.pojo.TTest getTTest() {
        return this.TTest;
    }

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

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

}

⌨️ 快捷键说明

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