/*
 * This file is part of blog (https://github.com/jens-meiss/blog).
 *
 *  blog is free software: you can redistribute it and/or modify
 *  it under the terms of the GNU Affero General Public License as published by
 *  the Free Software Foundation, either version 3 of the License, or
 *  (at your option) any later version.
 *
 *  blog is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *  GNU Affero General Public License for more details.
 *
 *  You should have received a copy of the GNU Affero General Public License
 *  along with blog. If not, see <http://www.gnu.org/licenses/>.
 */
package com.github.jens_meiss.blog.api.dto.impl.user;

import com.github.jens_meiss.blog.api.dto.impl.BlogIdDTO;
import com.github.jens_meiss.blog.api.dto.user.UserPasswordDTO;
import com.github.jens_meiss.blog.api.dto.user.UserRemoveDTO;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Pattern;
import javax.validation.constraints.Size;

public class UserRemoveDTOImpl extends BlogIdDTO implements UserRemoveDTO {

    @NotNull
    @Size(max = UserPasswordDTO.PASSWORD_LENGTH_MAX, min = UserPasswordDTO.PASSWORD_LENGTH_MIN)
    private String password;

    @Override
    public String getPassword() {

        return password;
    }

    @Override
    public void setPassword(String password) {

        this.password = password;
    }

}
