package com.yunzhupaas.permission.model.user.form;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import jakarta.validation.constraints.NotBlank;

/**
 *
 * @author 云筑产品开发平台组
 * @version V3.1.0
 * @copyright 深圳市乐程软件有限公司
 * @date 2024/3/12 15:31
 */
@Data
public class UserModifyPasswordForm {
    @NotBlank(message = "必填")
    @Schema(description = "旧密码,需要 MD5 加密后传输")
    private String oldPassword;
    @NotBlank(message = "必填")
    @Schema(description = "新密码")
    private String password;
    @NotBlank(message = "必填")
    @Schema(description = "验证码")
    private String code;
    @NotBlank(message = "必填")
    @Schema(description = "验证码标识")
    private String timestamp;
}

