Skip to content

Commit

Permalink
refactor: equals and hashcode
Browse files Browse the repository at this point in the history
  • Loading branch information
yonghwankim-dev committed Oct 28, 2024
1 parent b44c9a9 commit b4ce34d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@
import co.fineants.api.domain.member.domain.entity.MemberProfile;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.Pattern;
import lombok.EqualsAndHashCode;

@EqualsAndHashCode
public class VerifyCodeRequest {
@NotBlank(message = "이메일은 필수 정보입니다")
@Pattern(regexp = MemberProfile.EMAIL_REGEXP, message = "잘못된 입력 형식입니다")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,11 @@
import co.fineants.api.domain.member.domain.entity.MemberProfile;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.Pattern;
import lombok.EqualsAndHashCode;
import lombok.Getter;

@Getter
@EqualsAndHashCode
public class VerifyEmailRequest {
@NotBlank(message = "이메일은 필수 정보입니다")
@Pattern(regexp = MemberProfile.EMAIL_REGEXP, message = "잘못된 입력 형식입니다")
Expand Down

0 comments on commit b4ce34d

Please sign in to comment.