package com.cf.imes.module.system.controller.admin.user.vo.profile;

import com.cf.imes.framework.common.validation.Mobile;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

import jakarta.validation.constraints.NotEmpty;


@Schema(description = "管理后台 - 用户密保手机更新 Request VO")
@Data
public class UserMobileUpdateReqVO {


    @Schema(description = "手机号码", example = "15601691300")
    @Length(min = 11, max = 11, message = "手机号长度必须 11 位")
    @Mobile
    @NotEmpty(message = "手机号不能为空")
    private String mobile;

    @Schema(description = "验证码", example = "123456")
    @Length(min = 6, max = 6, message = "短信验证码不正确")
    @NotEmpty(message = "短信验证码不能为空")
    private String smsCaptchaVerification;
}
