Skip to content

Commit 6e65595

Browse files
committed
refactor: 깃허브 링크 필수 제약 조건 제거
- SomParticipant (엔티티) - SomParticipantRequestDto (요청 DTO)
1 parent af60e14 commit 6e65595

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

src/main/java/dmu/dasom/api/domain/somkathon/dto/SomParticipantRequestDto.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@ public class SomParticipantRequestDto {
4343
@Schema(description = "이메일 주소", example = "[email protected]", required = true)
4444
private String email; // 이메일
4545

46-
@NotBlank(message = "GitHub 주소는 필수 입력 값입니다.")
4746
@URL(protocol = "https", host = "github.com", message = "GitHub URL이 올바르지 않습니다.")
4847
@Schema(description = "GitHub 주소", example = "https://github.com/username", required = true)
4948
private String githubLink; // 깃허브 주소

src/main/java/dmu/dasom/api/domain/somkathon/entity/SomParticipant.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ public class SomParticipant extends BaseEntity {
3939
@Column(nullable = false)
4040
private String email; // 이메일
4141

42-
@Column(nullable = false)
42+
@Column
4343
private String githubLink; // 깃허브 링크
4444

4545
@Column(nullable = false)

0 commit comments

Comments
 (0)