package com.sonic.shark.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

/**
 * 图鉴鉴黄日志表
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "t_nsfw_log", autoResultMap = true)
public class NsfwLog {

    @TableId(type = IdType.AUTO)
    /**
    * 主键id
    */
    private Long id;

    /**
    * 用户id
    */
    private Long userId;

    /**
    * 存储桶的名称
    */
    private String bucketName;

    /**
    * 图片全路径
    */
    private String url;

    /**
    * nsfw的标签
    */
    private String nsfwLabel;

    /**
    * 日志id
    */
    private String traceId;

    /**
     * 是否删除
     */
    private Boolean isDelete;

    /**
    * 创建时间
    */
    private LocalDateTime createTime;

}