package com.ruoyi.ss.riskInfo.domain;

import com.ruoyi.common.annotation.Sensitive;
import com.ruoyi.common.enums.DesensitizedType;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * @author wjh
 * 2024/11/25
 */
@Data
public class RiskInfoVO extends RiskInfo {

    @ApiModelProperty("用户ID")
    private Long userId;

    @ApiModelProperty("用户名称")
    private String userName;

    @ApiModelProperty("风控提交材料列表")
    private List<String> riskSubmitType;

    @ApiModelProperty("风控是否结束")
    private Boolean riskIsFinished;

    @ApiModelProperty("提交后自动解封")
    private Boolean riskUnsealSelf;

    @ApiModelProperty("风控原因")
    private String riskReason;

    @ApiModelProperty("风控类型")
    private List<String> riskType;

    @ApiModelProperty("风控视频提示")
    private String riskVideoWords;

    @ApiModelProperty("实名")
    @Sensitive(desensitizedType = DesensitizedType.USERNAME)
    private String realName;

    @ApiModelProperty("身份证")
    @Sensitive(desensitizedType = DesensitizedType.ID_CARD)
    private String realIdCard;

    @ApiModelProperty("人脸图片")
    @Sensitive(desensitizedType = DesensitizedType.COMMON)
    private String realFace;
}
