package cc.mrbird.febs.mall.dto;
|
|
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModelProperty;
|
import lombok.Data;
|
|
import javax.validation.constraints.NotBlank;
|
|
@Data
|
@ApiModel(value = "ApiOperateRegisterUserDto", description = "参数")
|
public class ApiOperateRegisterUserDto {
|
|
@NotBlank(message = "姓名不可为空")
|
@ApiModelProperty(value = "姓名", example = "丽丽")
|
private String name;
|
|
@NotBlank(message = "电话不可为空")
|
@ApiModelProperty(value = "电话", example = "丽丽")
|
private String phone;
|
|
@NotBlank(message = "地址不可为空")
|
@ApiModelProperty(value = "地址", example = "丽丽")
|
private String address;
|
}
|