package cc.mrbird.febs.mall.dto;
|
|
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModelProperty;
|
import lombok.Data;
|
|
import javax.validation.constraints.NotBlank;
|
|
/**
|
* @author wzy
|
* @date 2021-09-16
|
**/
|
@Data
|
@ApiModel(value = "RegisterDto", description = "用户注册参数接收类")
|
public class RegisterDto {
|
|
@NotBlank(message = "The account cannot be empty")
|
@ApiModelProperty(value = "手机号", example = "15773001234")
|
private String account;
|
|
@NotBlank(message = "The password cannot be empty")
|
@ApiModelProperty(value = "密码", example = "123456")
|
private String password;
|
|
}
|