提交 | 用户 | 时间
|
e7c126
|
1 |
package com.iailab.module.system.controller.admin.auth.vo; |
H |
2 |
|
|
3 |
import com.iailab.framework.common.validation.Mobile; |
|
4 |
import io.swagger.v3.oas.annotations.media.Schema; |
|
5 |
import lombok.AllArgsConstructor; |
|
6 |
import lombok.Builder; |
|
7 |
import lombok.Data; |
|
8 |
import lombok.NoArgsConstructor; |
|
9 |
|
|
10 |
import javax.validation.constraints.NotEmpty; |
|
11 |
|
|
12 |
@Schema(description = "管理后台 - 短信验证码的登录 Request VO") |
|
13 |
@Data |
|
14 |
@NoArgsConstructor |
|
15 |
@AllArgsConstructor |
|
16 |
@Builder |
|
17 |
public class AuthSmsLoginReqVO { |
|
18 |
|
|
19 |
@Schema(description = "手机号", requiredMode = Schema.RequiredMode.REQUIRED, example = "iailabyuanma") |
|
20 |
@NotEmpty(message = "手机号不能为空") |
|
21 |
@Mobile |
|
22 |
private String mobile; |
|
23 |
|
|
24 |
@Schema(description = "短信验证码", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024") |
|
25 |
@NotEmpty(message = "验证码不能为空") |
|
26 |
private String code; |
|
27 |
|
|
28 |
} |