Skip to content

Commit

Permalink
fix : FindingGameWinner 복합키 타입 오류 수정 (CC-112) (#12)
Browse files Browse the repository at this point in the history
* feat : ERD 토대로 Entity class 작성 (CC-112)

* fix : Entity column중 PK field는 Wrapper class 사용 (CC-112)

* fix : Entity간의 관계 설정 (CC-112)

* fix : FindingGameWinner 복합키 타입 오류 수정 (CC-112)
  • Loading branch information
putdata authored Aug 1, 2024
1 parent 3a997f4 commit 478d58d
Showing 1 changed file with 8 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
package ai.softeer.caecae.findinggame.domain.entity;

import ai.softeer.caecae.user.domain.entity.User;

import java.io.Serializable;

public class FindingGameWinnerId implements Serializable {
private Integer userId;
private Integer findingGameId;
private User user;
private FindingGame findingGame;

public FindingGameWinnerId(Integer userId, Integer findingGameId) {
this.userId = userId;
this.findingGameId = findingGameId;
public FindingGameWinnerId(User user, FindingGame findingGame) {
this.user = user;
this.findingGame = findingGame;
}
}
}

0 comments on commit 478d58d

Please sign in to comment.