package cn.reghao.tnb.auth.app.model.dto;

import lombok.Getter;
import lombok.Setter;

import jakarta.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * @author reghao
 * @date 2023-02-18 17:46:15
 */
@Setter
@Getter
public class PasswordUpdateDto implements Serializable {
    private static final long serialVersionUID = 1L;

    @NotBlank(message = "必须指定当前密码")
    private String oldPassword;
    @NotBlank(message = "必须指定新密码")
    private String newPassword;
}
