package com.sckw.system.model.vo.req;

import jakarta.validation.constraints.NotNull;
import lombok.Data;
import org.apache.logging.log4j.core.config.plugins.validation.constraints.NotBlank;

import java.io.Serial;
import java.io.Serializable;

/**
 * @desc: 修改密码入参
 * @author: czh
 * @date: 2023/6/21
 */
@Data
public class UpdatePasswordReqVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 4911945623876338313L;

    /**
     * 账号
     */
    @NotBlank(message = "账号不能为空")
    private String account;

    /**
     * 旧密码
     */
    @NotBlank(message = "密码不能为空")
    private String password;

    /**
     * 新密码
     */
    @NotBlank(message = "新密码不能为空")
    private String newPassword;

    /**
     * 系统类型(1运营端、2企业开户)
     */
    @NotNull(message = "系统类型不能为空")
    private int systemType;

}
