Skip to content

Commit

Permalink
🐛 [Fix] tournament contents에 대한 길이 valid 수정 (#491)
Browse files Browse the repository at this point in the history
  • Loading branch information
Kimhan-nah authored Jan 9, 2024
2 parents 958861a + 01e2295 commit bde4915
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public class TournamentAdminCreateRequestDto {
private String title;

@NotNull(message = "내용이 필요합니다.")
@Length(max = 1000, message = "내용은 1000자 이내로 작성해주세요.")
@Length(max = 3000, message = "내용은 3000자 이내로 작성해주세요.")
private String contents;

@NotNull(message = "시작 시간이 필요합니다.")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public class TournamentAdminUpdateRequestDto {
private String title;

@NotNull(message = "내용이 필요합니다.")
@Length(max = 1000, message = "내용은 1000자 이내로 작성해주세요.")
@Length(max = 3000, message = "내용은 3000자 이내로 작성해주세요.")
private String contents;

@NotNull(message = "시작 시간이 필요합니다.")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public class Tournament extends BaseTimeEntity {
private String title;

@NotNull
@Column(name = "contents", length = 1000)
@Column(name = "contents", length = 3000)
private String contents;

@NotNull
Expand Down

0 comments on commit bde4915

Please sign in to comment.