package com.nantian.cloud.jljc.entity;



import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 交流主题信息
 *
 * @date 2020-09-03 13:23:34
 */
@Data
@TableName("t_bbs_topic")
@ApiModel(value = "交流主题信息")
public class TBbsTopic implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * id
	 */
	@TableId
	@ApiModelProperty(value = "id")
	private Integer id;
	/**
	 * 用户ID
	 */
	@ApiModelProperty(value = "用户ID")
	private Integer userid;

	@ApiModelProperty(value = "用户名")
	private String username;

	/**
	 * 版块ID
	 */
	@ApiModelProperty(value = "版块ID")
	private Integer sectionid;
	/**
	 * 标题
	 */
	@ApiModelProperty(value = "标题")
	private String title;
	/**
	 * 内容
	 */
	@ApiModelProperty(value = "内容")
	private String content;
	/**
	 * 更新时间
	 */
	@JsonFormat(shape = JsonFormat.Shape.STRING, pattern="yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	@ApiModelProperty(value = "更新时间")
	private Date updateTime;
	/**
	 * 最后点击时间
	 */
	@ApiModelProperty(value = "最后点击时间")
	@JsonFormat(shape = JsonFormat.Shape.STRING, pattern="yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	private Date lastclickTime;
	/**
	 * 点击次数
	 */
	@ApiModelProperty(value = "点击次数")
	private Integer clickCount;
	/**
	 * 回复次数
	 */
	@ApiModelProperty(value = "回复次数")
	private Integer replayCount;
	/**
	 * 注销状态
	 */
	@ApiModelProperty(value = "注销状态（1：未注销，4：已注销）")
	private String delFlag;
	/**
	 * 状态：0 正常，1锁定
	 */
	@ApiModelProperty(value = "状态：0 正常，1锁定")
	private String state;

	/**
	 * 部门id
	 */
	@ApiModelProperty(value = "部门id")
	private Integer deptId;

}
