package com.zcloud.basic.info.dto;

import com.alibaba.cola.dto.Command;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

/**
 * web-client
 *
 * @Author zhangyue
 * @Date 2025-11-04 14:07:38
 */
@EqualsAndHashCode(callSuper = true)
@Data
@NoArgsConstructor
@AllArgsConstructor
public class AppUserUpdatePassWordCmd extends Command {
    @ApiModelProperty(value = "GBS用户id", name = "id", required = true)
    @NotNull(message = "GBS用户id不能为空")
    private Long id;
    @ApiModelProperty(value = "原密码", name = "password")
    @NotEmpty(message = "原密码不能为空")
    private String password;
    @ApiModelProperty(value = "新密码", name = "newPassword")
    @NotEmpty(message = "新密码不能为空")
    private String newPassword;
    @ApiModelProperty(value = "确认密码", name = "confirmPassword")
    @NotEmpty(message = "确认密码不能为空")
    private String confirmPassword;
}

