Skip to content

Commit

Permalink
hotfix : 게시물 조회 API
Browse files Browse the repository at this point in the history
  • Loading branch information
Dayon-Hong committed Jun 4, 2024
1 parent d73b315 commit d5c6064
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

import com.isp.backend.domain.country.entity.Country;
import com.isp.backend.domain.member.entity.Member;
import com.isp.backend.domain.scheduleDetail.entity.CheckList;
import com.isp.backend.domain.scheduleDetail.entity.ScheduleDetail;
import com.isp.backend.global.common.BaseEntity;
import jakarta.persistence.*;
Expand Down Expand Up @@ -49,5 +50,8 @@ public class Schedule extends BaseEntity {
@Column(nullable = false)
private boolean activated = true;

@OneToMany(mappedBy = "schedule", cascade = CascadeType.ALL, orphanRemoval = true)
private List<CheckList> checkLists = new ArrayList<>();


}

0 comments on commit d5c6064

Please sign in to comment.