tservice.java

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

JAVA
129
字号
package cn.hope.front.pojo;

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


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

    /** identifier field */
    private Integer TSvid;

    /** persistent field */
    private String flag;

    /** persistent field */
    private String TSvappearance;

    /** persistent field */
    private String TSvcategory;

    /** persistent field */
    private String TSvcontent;

    /** persistent field */
    private String TSvtitle;

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

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

    /** full constructor */
    public TService(String flag, String TSvappearance, String TSvcategory, String TSvcontent, String TSvtitle, cn.hope.front.pojo.TInfo TInfoAnswer, cn.hope.front.pojo.TInfo TInfoAsk) {
        this.flag = flag;
        this.TSvappearance = TSvappearance;
        this.TSvcategory = TSvcategory;
        this.TSvcontent = TSvcontent;
        this.TSvtitle = TSvtitle;
        this.TInfoAnswer = TInfoAnswer;
        this.TInfoAsk = TInfoAsk;
    }

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

    /** minimal constructor */
    public TService(String flag, String TSvappearance, String TSvcategory, String TSvcontent, String TSvtitle) {
        this.flag = flag;
        this.TSvappearance = TSvappearance;
        this.TSvcategory = TSvcategory;
        this.TSvcontent = TSvcontent;
        this.TSvtitle = TSvtitle;
    }

    public Integer getTSvid() {
        return this.TSvid;
    }

    public void setTSvid(Integer TSvid) {
        this.TSvid = TSvid;
    }

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

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

    public String getTSvappearance() {
        return this.TSvappearance;
    }

    public void setTSvappearance(String TSvappearance) {
        this.TSvappearance = TSvappearance;
    }

    public String getTSvcategory() {
        return this.TSvcategory;
    }

    public void setTSvcategory(String TSvcategory) {
        this.TSvcategory = TSvcategory;
    }

    public String getTSvcontent() {
        return this.TSvcontent;
    }

    public void setTSvcontent(String TSvcontent) {
        this.TSvcontent = TSvcontent;
    }

    public String getTSvtitle() {
        return this.TSvtitle;
    }

    public void setTSvtitle(String TSvtitle) {
        this.TSvtitle = TSvtitle;
    }

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

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

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

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

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

}

⌨️ 快捷键说明

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