Skip to content

Commit

Permalink
v1.2.1
Browse files Browse the repository at this point in the history
v1.2.1
  • Loading branch information
char-yb authored Oct 25, 2024
2 parents 82b4759 + 2779921 commit 7f8db6f
Showing 1 changed file with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -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;
Expand All @@ -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<Comment> comments = new ArrayList<>();

@Schema(description = "미션 이미지 URL", example = "./missionRecord.jpg")
@Column(name = "image_url")
private String imageUrl;
Expand Down

0 comments on commit 7f8db6f

Please sign in to comment.