Skip to content

Commit

Permalink
[FIX] 소원 케이크 정렬
Browse files Browse the repository at this point in the history
  • Loading branch information
wlwpfh committed Jan 22, 2025
1 parent c32b570 commit bcfa62d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/java/com/sopterm/makeawish/domain/wish/Wish.java
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ public class Wish extends BaseEntity {
private User wisher;

@OneToMany(mappedBy = "wish")
@OrderBy("id desc")
private final List<Present> presents = new ArrayList<>();

private boolean wantsGift;
Expand Down

0 comments on commit bcfa62d

Please sign in to comment.