ShyTopic.java 7.07 KB
package com.cnlive.shenhe.entity;

import java.util.Date;
import javax.persistence.*;

@Table(name = "shy_topic")
public class ShyTopic {
    /**
     * id
     */
    @Id
    private Integer id;

    /**
     * 话题id
     */
    private String topic_id;

    /**
     * spId
     */
    private Integer sp_id;

    /**
     * 话题图片
     */
    private String topic_image;

    /**
     * 话题标签
     */
    private String topic_tag;

    /**
     * 话题url
     */
    private String topic_url;

    /**
     * 话题创建时间
     */
    private String topic_time;

    /**
     * 审核类型,1:免审,2:机审,3:人工审
     */
    private Integer shenhe_type;

    /**
     * 审核状态.0:未审核(未领取) 1:审核中(已领未审) 2:通过 3:拒绝
     */
    private Integer shenhe_status;

    /**
     * 送审时间
     */
    private Date create_date;

    /**
     * 更新时间
     */
    private Date update_date;

    /**
     * 审核人id
     */
    private String auditor_id;

    /**
     * 更新人名称
     */
    private String updater;

    /**
     * 审核意见
     */
    private String shenhe_msg;

    /**
     * 话题标题
     */
    private String title;

    /**
     * 话题内容
     */
    private String topic_text;
    
    /**
     * sp名称
     */
    @Transient
    private String sp_desc;

    /**
     * 获取id
     *
     * @return id - id
     */
    public Integer getId() {
        return id;
    }

    /**
     * 设置id
     *
     * @param id id
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * 获取话题id
     *
     * @return topic_id - 话题id
     */
    public String getTopic_id() {
        return topic_id;
    }

    /**
     * 设置话题id
     *
     * @param topic_id 话题id
     */
    public void setTopic_id(String topic_id) {
        this.topic_id = topic_id;
    }

    /**
     * 获取spId
     *
     * @return sp_id - spId
     */
    public Integer getSp_id() {
        return sp_id;
    }

    /**
     * 设置spId
     *
     * @param sp_id spId
     */
    public void setSp_id(Integer sp_id) {
        this.sp_id = sp_id;
    }

    /**
     * 获取话题图片
     *
     * @return topic_image - 话题图片
     */
    public String getTopic_image() {
        return topic_image;
    }

    /**
     * 设置话题图片
     *
     * @param topic_image 话题图片
     */
    public void setTopic_image(String topic_image) {
        this.topic_image = topic_image;
    }

    /**
     * 获取话题标签
     *
     * @return topic_tag - 话题标签
     */
    public String getTopic_tag() {
        return topic_tag;
    }

    /**
     * 设置话题标签
     *
     * @param topic_tag 话题标签
     */
    public void setTopic_tag(String topic_tag) {
        this.topic_tag = topic_tag;
    }

    /**
     * 获取话题url
     *
     * @return topic_url - 话题url
     */
    public String getTopic_url() {
        return topic_url;
    }

    /**
     * 设置话题url
     *
     * @param topic_url 话题url
     */
    public void setTopic_url(String topic_url) {
        this.topic_url = topic_url;
    }

    /**
     * 获取话题创建时间
     *
     * @return topic_time - 话题创建时间
     */
    public String getTopic_time() {
        return topic_time;
    }

    /**
     * 设置话题创建时间
     *
     * @param topic_time 话题创建时间
     */
    public void setTopic_time(String topic_time) {
        this.topic_time = topic_time;
    }

    /**
     * 获取审核类型,1:免审,2:机审,3:人工审
     *
     * @return shenhe_type - 审核类型,1:免审,2:机审,3:人工审
     */
    public Integer getShenhe_type() {
        return shenhe_type;
    }

    /**
     * 设置审核类型,1:免审,2:机审,3:人工审
     *
     * @param shenhe_type 审核类型,1:免审,2:机审,3:人工审
     */
    public void setShenhe_type(Integer shenhe_type) {
        this.shenhe_type = shenhe_type;
    }

    /**
     * 获取审核状态.0:未审核(未领取) 1:审核中(已领未审) 2:通过 3:拒绝
     *
     * @return shenhe_status - 审核状态.0:未审核(未领取) 1:审核中(已领未审) 2:通过 3:拒绝
     */
    public Integer getShenhe_status() {
        return shenhe_status;
    }

    /**
     * 设置审核状态.0:未审核(未领取) 1:审核中(已领未审) 2:通过 3:拒绝
     *
     * @param shenhe_status 审核状态.0:未审核(未领取) 1:审核中(已领未审) 2:通过 3:拒绝
     */
    public void setShenhe_status(Integer shenhe_status) {
        this.shenhe_status = shenhe_status;
    }

    /**
     * 获取送审时间
     *
     * @return create_date - 送审时间
     */
    public Date getCreate_date() {
        return create_date;
    }

    /**
     * 设置送审时间
     *
     * @param create_date 送审时间
     */
    public void setCreate_date(Date create_date) {
        this.create_date = create_date;
    }

    /**
     * 获取更新时间
     *
     * @return update_date - 更新时间
     */
    public Date getUpdate_date() {
        return update_date;
    }

    /**
     * 设置更新时间
     *
     * @param update_date 更新时间
     */
    public void setUpdate_date(Date update_date) {
        this.update_date = update_date;
    }

    /**
     * 获取审核人id
     *
     * @return auditor_id - 审核人id
     */
    public String getAuditor_id() {
        return auditor_id;
    }

    /**
     * 设置审核人id
     *
     * @param auditor_id 审核人id
     */
    public void setAuditor_id(String auditor_id) {
        this.auditor_id = auditor_id;
    }

    /**
     * 获取更新人名称
     *
     * @return updater - 更新人名称
     */
    public String getUpdater() {
        return updater;
    }

    /**
     * 设置更新人名称
     *
     * @param updater 更新人名称
     */
    public void setUpdater(String updater) {
        this.updater = updater;
    }

    /**
     * 获取审核意见
     *
     * @return shenhe_msg - 审核意见
     */
    public String getShenhe_msg() {
        return shenhe_msg;
    }

    /**
     * 设置审核意见
     *
     * @param shenhe_msg 审核意见
     */
    public void setShenhe_msg(String shenhe_msg) {
        this.shenhe_msg = shenhe_msg;
    }

    /**
     * 获取话题标题
     *
     * @return title - 话题标题
     */
    public String getTitle() {
        return title;
    }

    /**
     * 设置话题标题
     *
     * @param title 话题标题
     */
    public void setTitle(String title) {
        this.title = title;
    }

    /**
     * 获取话题内容
     *
     * @return topic_text - 话题内容
     */
    public String getTopic_text() {
        return topic_text;
    }

    /**
     * 设置话题内容
     *
     * @param topic_text 话题内容
     */
    public void setTopic_text(String topic_text) {
        this.topic_text = topic_text;
    }

	public String getSp_desc() {
		return sp_desc;
	}

	public void setSp_desc(String sp_desc) {
		this.sp_desc = sp_desc;
	}
    
}