-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
143 changed files
with
2,954 additions
and
1,659 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
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
15 changes: 15 additions & 0 deletions
15
...bang-ggood/src/main/java/com/bang_ggood/article/dto/response/ArticleCardViewResponse.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,15 @@ | ||
package com.bang_ggood.article.dto.response; | ||
|
||
import com.bang_ggood.article.domain.Article; | ||
|
||
public record ArticleCardViewResponse(Long articleId, String title, String keyword, String thumbnail) { | ||
|
||
public static ArticleCardViewResponse from(Article article) { | ||
return new ArticleCardViewResponse( | ||
article.getId(), | ||
article.getTitle(), | ||
article.getKeyword(), | ||
article.getThumbnail() | ||
); | ||
} | ||
} |
18 changes: 0 additions & 18 deletions
18
...ggood/src/main/java/com/bang_ggood/article/dto/response/ArticleDetailPreviewResponse.java
This file was deleted.
Oops, something went wrong.
19 changes: 19 additions & 0 deletions
19
...bang-ggood/src/main/java/com/bang_ggood/article/dto/response/ArticleListViewResponse.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,19 @@ | ||
package com.bang_ggood.article.dto.response; | ||
|
||
import com.bang_ggood.article.domain.Article; | ||
import java.time.LocalDateTime; | ||
|
||
public record ArticleListViewResponse(Long articleId, String title, String keyword, String summary, String thumbnail, | ||
LocalDateTime createdAt) { | ||
|
||
public static ArticleListViewResponse from(Article article) { | ||
return new ArticleListViewResponse( | ||
article.getId(), | ||
article.getTitle(), | ||
article.getKeyword(), | ||
article.getSummary(), | ||
article.getThumbnail(), | ||
article.getCreatedAt() | ||
); | ||
} | ||
} |
14 changes: 0 additions & 14 deletions
14
.../bang-ggood/src/main/java/com/bang_ggood/article/dto/response/ArticlePreviewResponse.java
This file was deleted.
Oops, something went wrong.
6 changes: 6 additions & 0 deletions
6
...ang-ggood/src/main/java/com/bang_ggood/article/dto/response/ArticlesCardViewResponse.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,6 @@ | ||
package com.bang_ggood.article.dto.response; | ||
|
||
import java.util.List; | ||
|
||
public record ArticlesCardViewResponse(List<ArticleCardViewResponse> articles) { | ||
} |
6 changes: 0 additions & 6 deletions
6
...good/src/main/java/com/bang_ggood/article/dto/response/ArticlesDetailPreviewResponse.java
This file was deleted.
Oops, something went wrong.
6 changes: 6 additions & 0 deletions
6
...ang-ggood/src/main/java/com/bang_ggood/article/dto/response/ArticlesListViewResponse.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,6 @@ | ||
package com.bang_ggood.article.dto.response; | ||
|
||
import java.util.List; | ||
|
||
public record ArticlesListViewResponse(List<ArticleListViewResponse> articles) { | ||
} |
6 changes: 0 additions & 6 deletions
6
...bang-ggood/src/main/java/com/bang_ggood/article/dto/response/ArticlesPreviewResponse.java
This file was deleted.
Oops, something went wrong.
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
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
4 changes: 2 additions & 2 deletions
4
backend/bang-ggood/src/main/java/com/bang_ggood/auth/service/JwtTokenProvider.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
Oops, something went wrong.