-
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 #192 from LearnsMate/feature/voc
✨ 기능 추가: VOCService -> countVOCByCategory 추가
- Loading branch information
Showing
7 changed files
with
76 additions
and
0 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
17 changes: 17 additions & 0 deletions
17
...e/src/main/java/intbyte4/learnsmate/voc/domain/vo/response/ResponseCountByCategoryVO.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 |
---|---|---|
@@ -0,0 +1,17 @@ | ||
package intbyte4.learnsmate.voc.domain.vo.response; | ||
|
||
import com.fasterxml.jackson.databind.PropertyNamingStrategies; | ||
import com.fasterxml.jackson.databind.annotation.JsonNaming; | ||
import lombok.*; | ||
|
||
@Getter | ||
@ToString | ||
@EqualsAndHashCode | ||
@AllArgsConstructor | ||
@NoArgsConstructor | ||
@Builder | ||
@JsonNaming(PropertyNamingStrategies.SnakeCaseStrategy.class) | ||
public class ResponseCountByCategoryVO { | ||
private int vocCategoryCode; | ||
private Long vocCount; | ||
} |
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
5 changes: 5 additions & 0 deletions
5
LearnsMate/src/main/java/intbyte4/learnsmate/voc_category/service/VocCategoryService.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,7 +1,12 @@ | ||
package intbyte4.learnsmate.voc_category.service; | ||
|
||
import intbyte4.learnsmate.voc_category.domain.VocCategory; | ||
import intbyte4.learnsmate.voc_category.domain.dto.VocCategoryDTO; | ||
|
||
import java.util.List; | ||
|
||
public interface VocCategoryService { | ||
VocCategory findByVocCategoryCode(Integer vocCategoryCode); | ||
|
||
List<VocCategoryDTO> findAll(); | ||
} |
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