package com.yuchen.saas.manage.user.api.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;


@ApiModel(value = "UserPasswordRequest", description = "UserPasswordRequest")
@Data
public class UserPasswordRequest {
    private static final long serialVersionUID = 1L;
    @NotBlank
    @ApiModelProperty(value = "用户账户")
    private String username;

    @NotBlank
    @ApiModelProperty(value = "密码")
    private String password;

    @NotBlank
    @ApiModelProperty(value = "租户id")
    private String tenantId;

    @ApiModelProperty(value = "验证码")
    private String code;
}
