| | |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | import lombok.experimental.Accessors; |
| | | import org.hibernate.validator.constraints.Length; |
| | | |
| | | import javax.validation.constraints.NotBlank; |
| | |
| | | */ |
| | | |
| | | @Data |
| | | @Accessors(chain = true) |
| | | @ApiModel("用户登录对象") |
| | | public class LoginBody { |
| | | |
| | |
| | | /** |
| | | * 验证码 |
| | | */ |
| | | @NotBlank(message = "{user.jcaptcha.blank}") |
| | | @ApiModelProperty(value = "验证码") |
| | | private String code; |
| | | |
| | |
| | | * 唯一标识 |
| | | */ |
| | | @ApiModelProperty(value = "唯一标识") |
| | | private String uuid = ""; |
| | | private String uuid; |
| | | |
| | | } |