diff --git a/src/main/java/kusitms/hdmedi/domain/announcement/Announcement.java b/src/main/java/kusitms/hdmedi/domain/announcement/Announcement.java index b16fb30..d404951 100644 --- a/src/main/java/kusitms/hdmedi/domain/announcement/Announcement.java +++ b/src/main/java/kusitms/hdmedi/domain/announcement/Announcement.java @@ -1,9 +1,6 @@ package kusitms.hdmedi.domain.announcement; -import jakarta.persistence.Entity; -import jakarta.persistence.GeneratedValue; -import jakarta.persistence.GenerationType; -import jakarta.persistence.Id; +import jakarta.persistence.*; import lombok.AllArgsConstructor; import lombok.Builder; import lombok.Getter; @@ -23,6 +20,8 @@ public class Announcement { private String title; + @Lob + @Column(columnDefinition = "TEXT") private String content; @CreationTimestamp