Skip to content

Commit

Permalink
Rafactor : Bidirectional mapping (playlist <-> playlistvideo)
Browse files Browse the repository at this point in the history
  • Loading branch information
Son-GyeongSik committed Dec 12, 2023
1 parent 881da7b commit d2afbad
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,7 @@ public class PlaylistEntity {
private Timestamp updatedAt;

private Float averageRating;

@OneToMany(mappedBy = "playlist")
private List<PlaylistVideoEntity> playlistVideoEntityList = new ArrayList<PlaylistVideoEntity>();
}

0 comments on commit d2afbad

Please sign in to comment.