/* * Copyright (c) 2018-2028, Chill Zhuang All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must retain the above copyright notice, * this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * Neither the name of the dreamlu.net developer nor the names of its * contributors may be used to endorse or promote products derived from * this software without specific prior written permission. * Author: Chill 庄骞 (smallchill@163.com) */ package org.springblade.modules.circle.entity; import com.baomidou.mybatisplus.annotation.*; import com.fasterxml.jackson.annotation.JsonFormat; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import lombok.Data; import java.util.Date; /** * 圈子评论表 实体类 * * @author BladeX * @since 2023-12-01 */ @Data @TableName("jczz_circle_comment") @ApiModel(value = "CircleComment对象", description = "圈子评论表") public class CircleCommentEntity { @ApiModelProperty(value = "主键ID", example = "") @TableId(value = "id", type = IdType.AUTO) private Integer id; /** 圈子id */ @ApiModelProperty(value = "圈子id", example = "") @TableField("circle_id") private Long circleId; /** 评论内容 */ @ApiModelProperty(value = "评论内容", example = "") @TableField("content") private String content; /** 评论人id */ @ApiModelProperty(value = "评论人id", example = "") @TableField("user_id") private Long userId; /** 父级id(人) */ @ApiModelProperty(value = "父级id(人)", example = "") @TableField("parent_id") private Long parentId; /** 回复时间 */ @ApiModelProperty(value = "回复时间", example = "") @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") @TableField("reply_time") private Date replyTime; /** 是否置顶(0:否,1:是) */ @ApiModelProperty(value = "是否置顶(0:否,1:是)", example = "") @TableField("topping") private Integer topping; /** 是否审核(0:否,1:是) */ @ApiModelProperty(value = "是否审核(0:否,1:是)", example = "") @TableField("isexamine") private Integer isexamine; /** 审核人 */ @ApiModelProperty(value = "审核人", example = "") @TableField("check_user") private Long checkUser; /** 审核时间 */ @ApiModelProperty(value = "审核时间", example = "") @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") @TableField("check_time") private Date checkTime; /** 审核状态 */ @ApiModelProperty(value = "审核状态", example = "") @TableField("check_status") private Integer checkStatus; /** 审核备注 */ @ApiModelProperty(value = "审核备注", example = "") @TableField("check_remark") private String checkRemark; /** 创建时间 */ @ApiModelProperty(value = "创建时间", example = "") @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") @TableField(value = "create_time",fill = FieldFill.INSERT) private Date createTime; /** 是否删除 0:否 1:是 */ @ApiModelProperty(value = "是否删除 0:否 1:是", example = "") @TableField("is_deleted") private Integer isDeleted; /** 评论深度 */ @ApiModelProperty(value = "评论深度", example = "") @TableField("depth") private Integer depth; }