package com.bcxin.api.interfaces.identities.requests;

import com.bcxin.api.interfaces.RequestAbstract;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;

@Data
public class ChangeUserNameRequest extends RequestAbstract {
    @ApiModelProperty("新的账号名")
    @NotEmpty(message = "新的账号名不能为空")
    private String newUserName;

    @ApiModelProperty("密码不能为空")
    @NotEmpty(message = "密码不能为空")
    private  String password;
}
