package org.springblade.modules.property.entity;
|
|
import com.baomidou.mybatisplus.annotation.*;
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
|
import lombok.Data;
|
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModelProperty;
|
|
import java.io.Serializable;
|
import java.util.Date;
|
import org.springframework.format.annotation.DateTimeFormat;
|
|
/**
|
* 物业公司评论表 实体类
|
*
|
* @author BladeX
|
* @since 2024-01-05
|
*/
|
@Data
|
@TableName("jczz_property_company_comment")
|
@ApiModel(value = "PropertyCompanyComment对象", description = "物业公司评论表")
|
public class PropertyCompanyCommentEntity implements Serializable {
|
|
private static final long serialVersionUID = 1L;
|
|
/**
|
* 主键
|
*/
|
@JsonSerialize(using = ToStringSerializer.class)
|
@ApiModelProperty("主键id")
|
@TableId(value = "id", type = IdType.AUTO)
|
private Long id;
|
|
/**
|
* 物业公司id
|
*/
|
@ApiModelProperty(value = "物业公司id")
|
private Integer propertyCompanyId;
|
/**
|
* 父级id
|
*/
|
@ApiModelProperty(value = "父级id")
|
private Long parentId;
|
/**
|
* 评论内容
|
*/
|
@ApiModelProperty(value = "评论内容")
|
private String content;
|
|
/**
|
* 评论图片
|
*/
|
@ApiModelProperty(value = "评论图片")
|
private String imageUrls;
|
/**
|
* 审核人
|
*/
|
@ApiModelProperty(value = "审核人")
|
private Long checkUser;
|
/**
|
* 审核时间
|
*/
|
@ApiModelProperty(value = "审核时间")
|
private Date checkTime;
|
/**
|
* 审核状态 1:待审核 2:审核通过 3:审核不通过
|
*/
|
@ApiModelProperty(value = "审核状态 1:待审核 2:审核通过 3:审核不通过")
|
private Integer checkStatus;
|
/**
|
* 审核备注
|
*/
|
@ApiModelProperty(value = "审核备注")
|
private String checkRemark;
|
/**
|
* 创建人
|
*/
|
@JsonSerialize(using = ToStringSerializer.class)
|
@ApiModelProperty("创建人")
|
@TableField(fill = FieldFill.INSERT)
|
private Long createUser;
|
|
/**
|
* 创建时间
|
*/
|
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@TableField(fill = FieldFill.INSERT)
|
@ApiModelProperty("创建时间")
|
private Date createTime;
|
|
/**
|
* 是否删除
|
*/
|
@TableLogic
|
@ApiModelProperty("是否已删除 0:否 1:是")
|
private Integer isDeleted;
|
|
}
|