package com.eactive.testmaster.login.dto;

import com.eactive.testmaster.common.validator.PasswordMatch;
import java.io.Serializable;

@PasswordMatch(input = "password", confirm = "password2")
public class PasswordResetDTO implements Serializable {

    private String token;
    private String password;
    private String password2;

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getPassword2() {
        return password2;
    }

    public void setPassword2(String password2) {
        this.password2 = password2;
    }
}
