package shop.alien.entity.store;

import com.baomidou.mybatisplus.annotation.*;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

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

/**
 * <p>
 * 用户举报
 * </p>
 *
 * @author ssk
 * @since 2025-04-29
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "LifeUserViolation对象", description = "用户举报")
public class LifeUserViolation extends Model<LifeUserViolation> {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "被举报用户类型")
    @TableField("reported_user_type")
    private String reportedUserType;

    @ApiModelProperty(value = "被举报用户ID")
    @TableField("reported_user_id")
    private String reportedUserId;

    @ApiModelProperty(value = "举报用户类型")
    @TableField("reporting_user_type")
    private String reportingUserType;

    @ApiModelProperty(value = "举报用户ID")
    @TableField("reporting_user_id")
    private String reportingUserId;

    @ApiModelProperty(value = "举报内容分类(0:商户, 1：用户，2：动态，3：评论, 4：二手商品， 5：二手用户)")
    @TableField("report_context_type")
    private String reportContextType;

    @ApiModelProperty(value = "1：用户违规，2：色情低俗，3：违法违规，4：谩骂嘲讽、煽动对立，5：涉嫌诈骗，6：人身攻击，7：种族歧视，8：政治敏感，9：虚假、不实内容，违反公德秩序，10：危害人身安全，11：网络暴力，12：其他原因")
    @TableField("violation_type")
    private String violationType;

    @ApiModelProperty(value = "其他原因具体内容")
    @TableField("other_reason_content")
    private String otherReasonContent;

    @ApiModelProperty(value = "举报凭证图片")
    @TableField("report_evidence_img")
    private String reportEvidenceImg;

    @ApiModelProperty(value = "处理状态(0：未处理，1：违规，2：未违规)")
    @TableField("processing_status")
    private String processingStatus;

    @ApiModelProperty(value = "处理时间")
    @TableField(value = "processing_time", fill = FieldFill.INSERT)
    private Date processingTime;

    @ApiModelProperty(value = "删除标记, 0:未删除, 1:已删除")
    @TableField("delete_flag")
    @TableLogic
    private Integer deleteFlag;

    @ApiModelProperty(value = "创建时间")
    @TableField(value = "created_time", fill = FieldFill.INSERT)
    private Date createdTime;

    @ApiModelProperty(value = "创建人ID")
    @TableField(value = "created_user_id", fill = FieldFill.INSERT)
    private Integer createdUserId;

    @ApiModelProperty(value = "更新时间")
    @TableField(value = "updated_time", fill = FieldFill.INSERT_UPDATE)
    private Date updatedTime;

    @ApiModelProperty(value = "修改人ID")
    @TableField(value = "updated_user_id", fill = FieldFill.INSERT_UPDATE)
    private Integer updatedUserId;

    @ApiModelProperty(value = "评论ID")
    @TableField(value = "comment_id")
    private String commentId;

    @ApiModelProperty(value = "动态ID")
    @TableField(value = "dynamics_id")
    private String dynamicsId;

    @ApiModelProperty(value = "举报结果")
    @TableField(value = "report_result")
    private String reportResult;

    @ApiModelProperty(value = "商品备份ID")
    @TableField(value = "business_id")
    private Integer businessId;

    @ApiModelProperty(value = "举报类型")
    @TableField(value = "dict_type")
    private String dictType;

    @ApiModelProperty(value = "举报类型ID")
    @TableField(value = "dict_id")
    private Integer dictId;

    @ApiModelProperty(value = "视频第一帧")
    @TableField(value = "video_first_frame")
    private String videoFirstFrame;

    @ApiModelProperty(value = "商品ID")
    @TableField(value = "goods_id")
    private Integer goodsId;

    @ApiModelProperty(value = "商品ID")
    @TableField(value = "ai_task_id")
    private String aiTaskId;

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}
