package com.gxwebsoft.auto.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * 扫码登录绑定手机号请求
 *
 * @author 科技小王子
 * @since 2026-04-06
 */
@Data
@Schema(description = "扫码登录绑定手机号请求")
public class QrLoginBindPhoneRequest {

    @Schema(description = "扫码登录token")
    @NotBlank(message = "token不能为空")
    private String token;

    @Schema(description = "手机号")
    @NotBlank(message = "手机号不能为空")
    private String phone;

    @Schema(description = "短信验证码")
    @NotBlank(message = "验证码不能为空")
    private String code;

}
