package com.ruoyi.bst.realName.domain;

import java.math.BigDecimal;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import javax.validation.constraints.NotBlank;

/**
 * 实名认证信息对象 bst_real_name
 *
 * @author ruoyi
 * @date 2025-03-29
 */
@Data
public class RealName extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    private Long id;

    @Excel(name = "用户id")
    @ApiModelProperty("用户id")
    private Long userId;

    @Excel(name = "用户姓名")
    @ApiModelProperty("用户姓名")
    @NotBlank(message = "用户姓名不允许为空")
    private String userName;

    @Excel(name = "身份证")
    @ApiModelProperty("身份证")
    @NotBlank(message = "身份证不允许为空")
    private String idCard;

    @Excel(name = "人脸图像")
    @ApiModelProperty("人脸图像")
    private String picture;

    @Excel(name = "对比分数")
    @ApiModelProperty("对比分数")
    private BigDecimal score;

    @Excel(name = "手机号")
    @ApiModelProperty("手机号")
    @NotBlank(message = "手机号不允许为空")
    private String mobile;

    @Excel(name = "实名认证状态:0-未实名 1-已实名")
    @ApiModelProperty("实名认证状态:0-未实名 1-已实名")
    private String status;

}
