package com.ssj.bean.sys.schoolmatecircle.domain;

import javax.persistence.Entity;
import javax.persistence.Table;

import com.ssj.bean.common.framework.core.domain.BaseEntity;

import java.util.Date;

/**
 * @author Mount Liu
 * @date 2018/8/15
 */
@Entity
@Table(name = "scon_circle_schoolmate")
public class SchoolmateCircle extends BaseEntity {
    private static final long serialVersionUID = 1L;
    /**
     * 分享人user_id
     */
    private String userId;
    /**
     * 1:分享圈,2:答题榜
     */
    private int type;
    /**
     * 同学圈文本
     */
    private String content;
    /**
     * 同学圈素材，多个素材用逗号隔开
     */
    private String material;
    /**
     * 点赞数量
     */
    private int likeNum;
    /**
     * 评论数量
     */
    private int commentNum;
    /**
     * 是否采纳解答(答题榜用到) 0:否 1:是
     */
    private int isAccept;
    /**
     * 创建时间
     */
    private Date createTime;
    /**
     * 是否删除 0:否 1:是
     */
    private int isDelete;

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getMaterial() {
        return material;
    }

    public void setMaterial(String material) {
        this.material = material;
    }

    public int getLikeNum() {
        return likeNum;
    }

    public void setLikeNum(int likeNum) {
        this.likeNum = likeNum;
    }

    public int getCommentNum() {
        return commentNum;
    }

    public void setCommentNum(int commentNum) {
        this.commentNum = commentNum;
    }

    public int getIsAccept() {
        return isAccept;
    }

    public void setIsAccept(int isAccept) {
        this.isAccept = isAccept;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public int getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(int isDelete) {
        this.isDelete = isDelete;
    }

}
