package com.yeejoin.amos.knowledgebase.face.orm.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import org.typroject.tyboot.core.rdbms.orm.entity.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

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


	/**
	 * 文档id
	 */
	@TableField("DOC_SEQ")
	private Long docSeq;
	/**
	 * 发表评论的用户id
	 */
	@TableField("USER_ID")
	private String userId;
	/**
	 * 评论内容
	 */
	@TableField("COMMENTS_CONTENT")
	private String commentsContent;
	/**
	 * 父级评论id
	 */
	@TableField("PARENT_ID")
	private Long parentId;
	/**
	 * 机构编号
	 */
	@TableField("AGENCY_CODE")
	private String agencyCode;
}

