1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
| package com.dl.common.core.domain.model;
|
| import lombok.Data;
|
| import javax.validation.constraints.NotBlank;
|
| /**
| * 短信登录对象
| *
| * @author Lion Li
| */
|
| @Data
| public class SmsLoginBody {
|
| /**
| * 手机号
| */
| @NotBlank(message = "{user.phonenumber.not.blank}")
| private String phonenumber;
|
| /**
| * 短信code
| */
| @NotBlank(message = "{sms.code.not.blank}")
| private String smsCode;
|
| }
|
|