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 = "GetKeyDto", description = "找回密钥参数接收类") public class GetKeyDto { @NotBlank(message = "密码不能为空") @ApiModelProperty(value = "密码", example = "123456") private String password; @NotBlank(message = "交易密码不能为空") @ApiModelProperty(value = "交易密码", example = "123456") private String tradePassword; }