package io.renren.modules.business.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

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

/**
 * 记录评论信息
 * 
 * @author jiaqiao
 * @email jiaqiao@163.com
 * @date 2022-09-30 10:26:27
 */
@Data
@TableName("business_comments")
public class BusinessCommentsEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * id
	 */
	@TableId
	private Integer id;
	/**
	 * 立项ID
	 */
	private Integer commentsProjectId;
	/**
	 * 评论人id
	 */
	private Long commentsPersonId;
	/**
	 * 评论时间
	 */
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
	private Date commentsTime;
	/**
	 * 评论内容
	 */
	private String commentsRemarks;
	/**
	 * 附件
	 */
	private String commentsFj;
	/**
	 * 创建时间
	 */
	private Date createTime;
	/**
	 * 更新时间
	 */
	private Date updateTime;
	/**
	 * 创建人
	 */
	private String createName;

	//关联所有账户的真实姓名
    @TableField(exist = false)
    private String authenticName;

}
