We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1193c20 commit ff81ea0Copy full SHA for ff81ea0
backend/src/main/java/com/back/domain/party/party/entity/Party.java
@@ -1,6 +1,7 @@
1
package com.back.domain.party.party.entity;
2
3
import com.back.domain.member.entity.Member;
4
+import com.back.domain.mission.entity.Mission;
5
import com.back.global.jpa.entity.BaseEntity;
6
import jakarta.persistence.*;
7
import lombok.Getter;
@@ -36,4 +37,7 @@ public void incrementViews() {
36
37
38
@OneToMany(mappedBy = "party", cascade = CascadeType.ALL, orphanRemoval = true)
39
private List<PartyMember> partyMembers = new ArrayList<>();
40
+
41
+ @OneToOne(mappedBy = "party", cascade = CascadeType.ALL, orphanRemoval = true)
42
+ private Mission mission;
43
}
0 commit comments