Skip to content

Commit

Permalink
[Fix]: 커피챗 자기소개 필드 옵셔널로 변경
Browse files Browse the repository at this point in the history
Related to: #572
  • Loading branch information
dev-Crayon committed Dec 29, 2024
1 parent aa87e2f commit c0ad152
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@ public record MemberInfoRequest(
@Schema(required = true)
Career career,

@Schema(required = true)
@NotBlank(message = "자기소개는 필수 입력 값입니다.")
@Schema
@Size(max = 200, message = "자기소개는 200자를 초과할 수 없습니다.")
String introduction
) { }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public class CoffeeChat extends AuditingTimeEntity {
@Enumerated(EnumType.STRING)
private Career career;

@Column(nullable = false, length = 200)
@Column(length = 200)
private String introduction;

@Convert(converter = CoffeeChatSectionConverter.class)
Expand Down

0 comments on commit c0ad152

Please sign in to comment.