diff --git a/src/main/java/com/depromeet/stonebed/domain/missionRecord/domain/MissionRecord.java b/src/main/java/com/depromeet/stonebed/domain/missionRecord/domain/MissionRecord.java index b8b21d69..bd9be482 100644 --- a/src/main/java/com/depromeet/stonebed/domain/missionRecord/domain/MissionRecord.java +++ b/src/main/java/com/depromeet/stonebed/domain/missionRecord/domain/MissionRecord.java @@ -1,13 +1,10 @@ package com.depromeet.stonebed.domain.missionRecord.domain; -import com.depromeet.stonebed.domain.comment.domain.Comment; import com.depromeet.stonebed.domain.common.BaseTimeEntity; import com.depromeet.stonebed.domain.member.domain.Member; import com.depromeet.stonebed.domain.missionHistory.domain.MissionHistory; import io.swagger.v3.oas.annotations.media.Schema; import jakarta.persistence.*; -import java.util.ArrayList; -import java.util.List; import lombok.AccessLevel; import lombok.Builder; import lombok.Getter; @@ -33,9 +30,6 @@ public class MissionRecord extends BaseTimeEntity { @JoinColumn(name = "member_id", nullable = false) private Member member; - @OneToMany(cascade = CascadeType.ALL, orphanRemoval = true) - private List comments = new ArrayList<>(); - @Schema(description = "미션 이미지 URL", example = "./missionRecord.jpg") @Column(name = "image_url") private String imageUrl;