package shop.alien.entity.store;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 律师用户举报
 * </p>
 *
 * @author system
 * @since 2025-01-XX
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("lawyer_user_violation")
@ApiModel(value="LawyerUserViolation对象", description="律师用户举报")
public class LawyerUserViolation extends Model<LawyerUserViolation> {

    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 = "举报内容分类")
    @TableField("report_context_type")
    private String reportContextType;

    @ApiModelProperty(value = "举报原因")
    @TableField("violation_reason")
    private String violationReason;

    @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 = "订单号")
    @TableField(value = "order_number")
    private String orderNumber;

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

    @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;

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

}

