package com.spring.domain.user.dto;

import javax.validation.constraints.Email;
import javax.validation.constraints.NotBlank;

import lombok.Getter;
import lombok.RequiredArgsConstructor;

@Getter
@RequiredArgsConstructor
public class ChangePasswordRequest {
    
    @NotBlank(message = "사용자ID는 필수값 입니다.")
    private final String userId;

    @Email(message = "EMAIL형식이 잘못 되었습니다.")
    @NotBlank(message = "EMAIL은 필수값 입니다.")
    private final String email;

    @NotBlank(message = "비밀번호는 필수값 입니다.")
    private final String newPassword;

}
