package com.sqx.modules.pay.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * 骑手认证dto
 * @author codingliang
 * @date 2025-11-25
 */
@Data
@ApiModel(value = "RiderCertificationDTO", description = "骑手认证dto")
public class RiderCertificationDTO {

    @ApiModelProperty("用户名")
    @NotBlank(message = "用户名不能为空")
    private String userName;

    @ApiModelProperty("证件号码")
    @NotBlank(message = "证件号码不能为空")
    private String identityCardNumber;

    @ApiModelProperty("身份证正面图片")
    @NotBlank(message = "身份证正面图片不能为空")
    private String identityCardFront;

    @ApiModelProperty("身份证反面图片")
    @NotBlank(message = "身份证反面图片不能为空")
    private String identityCardVerso;

    @ApiModelProperty("手持身份证正面图片")
    @NotBlank(message = "手持身份证正面图片不能为空")
    private String selfIdentityCard;

    @ApiModelProperty("站点id")
    @NotNull(message = "站点id不能为空")
    private Integer riderStationId;
}
