-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #39 from 9oormthon-univ/feat/store
fix : menu 관련 api 반환 값 변경
- Loading branch information
Showing
5 changed files
with
34 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 6 additions & 4 deletions
10
src/main/java/com/jangburich/domain/store/domain/StoreTeamResponseDTO.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,27 @@ | ||
package com.jangburich.domain.store.domain; | ||
|
||
import com.jangburich.domain.team.domain.Team; | ||
import com.querydsl.core.annotations.QueryProjection; | ||
|
||
import lombok.Builder; | ||
|
||
@Builder | ||
public record StoreTeamResponseDTO( | ||
Long id, | ||
Integer point, | ||
Integer remainPoint, | ||
Long teamId, | ||
String teamName, | ||
String teamDescription, | ||
Long storeId | ||
|
||
) { | ||
@QueryProjection | ||
public StoreTeamResponseDTO(Long id, Integer point, Long teamId, String teamName, Long storeId) { | ||
public StoreTeamResponseDTO(Long id, Integer remainPoint, Long teamId, String teamName, String teamDescription, | ||
Long storeId) { | ||
this.id = id; | ||
this.point = point; | ||
this.remainPoint = remainPoint; | ||
this.teamId = teamId; | ||
this.teamName = teamName; | ||
this.teamDescription = teamDescription; | ||
this.storeId = storeId; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters