diff --git a/src/main/java/com/spaceclub/event/domain/EventInfo.java b/src/main/java/com/spaceclub/event/domain/EventInfo.java index 16e54862..aa175938 100644 --- a/src/main/java/com/spaceclub/event/domain/EventInfo.java +++ b/src/main/java/com/spaceclub/event/domain/EventInfo.java @@ -1,5 +1,6 @@ package com.spaceclub.event.domain; +import jakarta.persistence.Column; import jakarta.persistence.Embeddable; import jakarta.persistence.Lob; import lombok.AccessLevel; @@ -22,7 +23,7 @@ public class EventInfo { private static final int TITLE_MAX_LENGTH = 30; - private static final int CONTENT_MAX_LENGTH = 200; + private static final int CONTENT_MAX_LENGTH = 1000; private static final int LOCATION_MAX_LENGTH = 30; @@ -33,6 +34,7 @@ public class EventInfo { @Getter private String title; + @Column(length = 1000) @Getter private String content; diff --git a/src/main/java/com/spaceclub/form/domain/Form.java b/src/main/java/com/spaceclub/form/domain/Form.java index a590c96c..b12098ce 100644 --- a/src/main/java/com/spaceclub/form/domain/Form.java +++ b/src/main/java/com/spaceclub/form/domain/Form.java @@ -32,6 +32,7 @@ public class Form extends BaseTimeEntity { private Long id; @Getter + @Column(length = 1000) private String description; @Getter diff --git a/src/main/java/com/spaceclub/form/domain/FormAnswer.java b/src/main/java/com/spaceclub/form/domain/FormAnswer.java index 5f96528d..691af5dc 100644 --- a/src/main/java/com/spaceclub/form/domain/FormAnswer.java +++ b/src/main/java/com/spaceclub/form/domain/FormAnswer.java @@ -36,6 +36,7 @@ public class FormAnswer extends BaseTimeEntity { private Long userId; @Getter + @Column(length = 1000) private String content; @Builder diff --git a/src/main/java/com/spaceclub/form/domain/FormOption.java b/src/main/java/com/spaceclub/form/domain/FormOption.java index 80faea05..28c1080e 100644 --- a/src/main/java/com/spaceclub/form/domain/FormOption.java +++ b/src/main/java/com/spaceclub/form/domain/FormOption.java @@ -35,6 +35,7 @@ public class FormOption { private Long id; @Getter + @Column(length = 1000) private String title; @Getter diff --git a/src/test/java/com/spaceclub/event/domain/EventInfoTest.java b/src/test/java/com/spaceclub/event/domain/EventInfoTest.java index 0b02cc44..6f49028e 100644 --- a/src/test/java/com/spaceclub/event/domain/EventInfoTest.java +++ b/src/test/java/com/spaceclub/event/domain/EventInfoTest.java @@ -18,7 +18,7 @@ class EventInfoTest { private static final String TITLE_MAX_LENGTH = "값".repeat(31); - private static final String CONTENT_MAX_LENGTH = "값".repeat(201); + private static final String CONTENT_MAX_LENGTH = "값".repeat(1001); private static final String LOCATION_MAX_LENGTH = "값".repeat(31);