-
Notifications
You must be signed in to change notification settings - Fork 0
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 #174 from nhnacademy-be4-ckin/feature/category-cache
[FEATURE] 카테고리 캐싱기능 추가
- Loading branch information
Showing
4 changed files
with
61 additions
and
2 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
35 changes: 35 additions & 0 deletions
35
src/main/java/store/ckin/api/category/dto/response/CategoryCacheResponseDto.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,35 @@ | ||
package store.ckin.api.category.dto.response; | ||
|
||
import lombok.Builder; | ||
import lombok.Getter; | ||
import lombok.NoArgsConstructor; | ||
|
||
/** | ||
* CategoryCacheResponseDto. | ||
* | ||
* @author 나국로 | ||
* @version 2024. 03. 24. | ||
*/ | ||
@Getter | ||
@NoArgsConstructor | ||
public class CategoryCacheResponseDto { | ||
|
||
|
||
private Long categoryId; | ||
|
||
private Long parentCategoryId; | ||
|
||
private String categoryName; | ||
|
||
private Integer categoryPriority; | ||
|
||
@Builder | ||
public CategoryCacheResponseDto(Long categoryId, Long parentCategoryId, String categoryName, | ||
Integer categoryPriority) { | ||
this.categoryId = categoryId; | ||
this.parentCategoryId = parentCategoryId; | ||
this.categoryName = categoryName; | ||
this.categoryPriority = categoryPriority; | ||
} | ||
|
||
} |
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