Skip to content

Commit

Permalink
feat/#331 : CheckMemberRequest 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
LJH098 committed Jun 30, 2024
1 parent d29d90b commit bc323a9
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,11 @@

import javax.validation.constraints.NotNull;

import com.gaebaljip.exceed.common.ValidationMessage;
import lombok.Builder;

public record CheckMemberRequest(@NotNull String email, @NotNull String code) {
public record CheckMemberRequest(@NotNull(message = "이메일을 " + ValidationMessage.NOT_NULL) String email,
@NotNull(message = "코드를 " + ValidationMessage.NOT_NULL) String code) {
@Builder
public CheckMemberRequest {}
}

0 comments on commit bc323a9

Please sign in to comment.