Skip to content

Commit

Permalink
Merge pull request #224 from Make-A-Wish-Sopt/feature/jiyoung-#223-de…
Browse files Browse the repository at this point in the history
…velop

[FIX] 소원 케이크 정렬
  • Loading branch information
wlwpfh authored Jan 22, 2025
2 parents c32b570 + bcfa62d commit 8356936
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 8356936

Please sign in to comment.