Skip to content

Commit

Permalink
Update: userId에서 coinAccountId로 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobhboy committed Mar 26, 2024
1 parent 895d492 commit e08b77a
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@
import com.project.bumawiki.domain.coin.domain.CoinAccount;

public record CoinAccountResponse(
Long userId,
Long id,
Long money,
Long coin,
LocalDateTime lastRewardedTime
) {

public static CoinAccountResponse from(CoinAccount coinAccount) {
return new CoinAccountResponse(
coinAccount.getUserId(),
coinAccount.getId(),
coinAccount.getMoney(),
coinAccount.getCoin(),
coinAccount.getLastRewardedTime()
Expand Down

0 comments on commit e08b77a

Please sign in to comment.