package com.yeejoin.amos.knowledgebase.face.model;

import lombok.Data;
import lombok.EqualsAndHashCode;
import org.typroject.tyboot.core.rdbms.model.BaseModel;

import java.util.Date;

/**
 * <p>
 * 知识库评论信息
 * </p>
 *
 * @author 子杨
 * @since 2020-08-05
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class KnowledgeDocCommentsModel extends BaseModel {

    /**
     * 文档id
     */
    private Long docSeq;
    /**
     * 发表评论的用户id
     */
    private String userId;

    private String username;
    /**
     * 评论内容
     */
    private String commentsContent;
    /**
     * 父级评论id
     */
    private Long parentId;
    /**
     * 机构编号
     */
    private String agencyCode;
    /**
     * 是否点赞
     */
    private Boolean like;
    /**
     * 总点赞数量
     */
    private Integer likedNum;

    private Date createTime;

    public Date getCreateTime() {
        return recDate;
    }
}
