package com.starry.admin.modules.system.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import javax.validation.constraints.NotBlank;
import lombok.Data;

/**
 * @Author: huchuansai
 * @Date: 2024/6/14 3:05 PM
 * @Description:
 */
@Data
@ApiModel(value = "修改密码参数", description = "用户修改密码的请求参数")
public class UpdateUserPasswordParam {

    @ApiModelProperty(value = "用户ID", notes = "要修改密码的用户ID，不传则修改当前登录用户")
    private String userId;

    @NotBlank(message = "密码不能为空")
    @ApiModelProperty(value = "新密码", required = true, notes = "用户的新密码")
    private String password;

}
