package com.nantian.cloud.jljc.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
@TableName("delete_data_record")
@ApiModel(value = "删除信息记录")
public class DeleteDataRecord {

    @TableId
    @JsonSerialize(using = ToStringSerializer.class)
    private Integer id;


    @ApiModelProperty(value = "删除数据描述")
    private String content;


    @ApiModelProperty(value = "完成时间")
    private String completeTime;


    @ApiModelProperty(value = "要求时间")
    private String requestTime;


    @ApiModelProperty(value = "更新时间")
    private Date updateTime;

    @ApiModelProperty(value = "企业名称")
    private String cmpName;

    @ApiModelProperty(value = "用户id")
    private Integer userid;

    /**
     * 注销状态
     */
    @ApiModelProperty(value = "注销状态（1：未删除，4：已删除）")
    private String delFlag;

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

    @ApiModelProperty(value = "邮件截图")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private String imgUrl;

}
