diff --git a/src/main/java/WithYou/domain/scrap/entity/Scrap.java b/src/main/java/WithYou/domain/scrap/entity/Scrap.java index 360a246..5a5e309 100644 --- a/src/main/java/WithYou/domain/scrap/entity/Scrap.java +++ b/src/main/java/WithYou/domain/scrap/entity/Scrap.java @@ -2,13 +2,9 @@ import WithYou.domain.member.entity.Member; import WithYou.global.common.entity.BaseEntity; -import javax.persistence.Entity; -import javax.persistence.FetchType; -import javax.persistence.GeneratedValue; -import javax.persistence.GenerationType; -import javax.persistence.Id; -import javax.persistence.JoinColumn; -import javax.persistence.ManyToOne; + +import javax.persistence.*; + import lombok.AllArgsConstructor; import lombok.Builder; import lombok.Getter; @@ -26,6 +22,7 @@ public class Scrap extends BaseEntity { private Long postId; private String title; + @Column(length = 5000) private String content; private String imageUrl;