package com.eactive.testmaster.user.dto;

import com.eactive.testmaster.common.validator.PasswordMatch;
import javax.validation.constraints.NotEmpty;

@PasswordMatch(input = "newPassword", confirm = "newPassword2")
public class StaffPasswordChangeRequestDTO {

    @NotEmpty(message = "{field.required}")
    private String id;

    private String username;

    @NotEmpty(message = "{field.required}")
    private String newPassword;

    @NotEmpty(message = "{field.required}")
    private String newPassword2;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getNewPassword() {
        return newPassword;
    }

    public void setNewPassword(String newPassword) {
        this.newPassword = newPassword;
    }

    public String getNewPassword2() {
        return newPassword2;
    }

    public void setNewPassword2(String newPassword2) {
        this.newPassword2 = newPassword2;
    }
}
