package cn.iocoder.yudao.module.knowledge.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import com.baomidou.mybatisplus.annotation.*;
import cn.iocoder.yudao.framework.mybatis.core.dataobject.BaseDO;


/**
 * 专家专区
 *
 * @author admin
 * @since 1.0.0 2024-05-04
 */

@Data
@TableName("t_expert_zone")
public class TExpertZone extends BaseDO{
	/**
	* 主键
	*/
	@TableId(value = "id", type = IdType.AUTO)
	private Long id;

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

	/**
	* 内容
	*/
	private String content;

	/**
	* 专家id
	*/
	private Long specialistId;


	/**
	 * 是否收藏
	 */
	@TableField(exist = false)
	private Boolean isCollection;

	/**
	 * 评论数
	 */
	@TableField(exist = false)
	private Integer commentTotal;
}
