Skip to content

Commit

Permalink
πŸ“ˆ[UPDATE]-#10-οΏ½λ³€μˆ˜λͺ… λ³€κ²½ 및 μ—¬ν–‰ κΈ°κ°„ 쑰회 둜직 μΆ”κ°€
Browse files Browse the repository at this point in the history
## κ°œμš”
  • Loading branch information
daehwan2yo committed Dec 28, 2021
1 parent f31ac5d commit 13647f5
Showing 1 changed file with 7 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public class Party extends Period {
private Member captain;

@ManyToOne(fetch = FetchType.LAZY)
private City location;
private City city;

public void setCaptain(Member member) {
// Error code
Expand All @@ -44,7 +44,11 @@ public void setCaptain(Member member) {
this.captain = member;
}

public void setLocation(City city) {
this.location = city;
public void setCity(City city) {
this.city = city;
}

public String[] getPeriod() {
return new String[] {startDate, endDate};
}
}

0 comments on commit 13647f5

Please sign in to comment.