-
Notifications
You must be signed in to change notification settings - Fork 2
[BE] [REFACTOR] template 패키지를 backtest 도메인 하위로 이관 #211
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
The head ref may contain hidden characters: "20260131_#210_template_\uD328\uD0A4\uC9C0_backtest_\uC774\uAD00"
Merged
Changes from all commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
07ce6ec
git commit -m "[BE] [REFACTOR] template 패키지를 backtest 도메인 하위로 이관"
ykh4663 ad7b59c
git commit -m "[BE] [REFACTOR] TemplateRequest, TemplateResponse Reco…
ykh4663 e0205c0
git commit -m "[BE] [REFACTOR] Update 로직의 ID 변조 취약점 개선 (@PathVariable…
ykh4663 f71ee32
git commit -m "[BE] [Test] Template 테스트 패키지 이관 및 TemplateService 일부 메…
ykh4663 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
21 changes: 21 additions & 0 deletions
21
backend/src/main/java/org/sejongisc/backend/backtest/dto/TemplateRequest.java
This file contains hidden or 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,21 @@ | ||
| package org.sejongisc.backend.backtest.dto; | ||
|
|
||
|
|
||
| import io.swagger.v3.oas.annotations.media.Schema; | ||
|
|
||
| import java.util.UUID; | ||
|
|
||
| public record TemplateRequest( | ||
| /** | ||
| * 추후 create와 update request 달라지면 분리 필요 | ||
| */ | ||
|
|
||
| @Schema(description = "템플릿 제목", defaultValue = "기술주 템플릿") | ||
| String title, | ||
|
|
||
| @Schema(description = "템플릿 설명", defaultValue = "기술주 템플릿입니다.") | ||
| String description, | ||
|
|
||
| @Schema(description = "템플릿 공개 여부", defaultValue = "false") | ||
| Boolean isPublic | ||
| ) {} |
14 changes: 14 additions & 0 deletions
14
backend/src/main/java/org/sejongisc/backend/backtest/dto/TemplateResponse.java
This file contains hidden or 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,14 @@ | ||
| package org.sejongisc.backend.backtest.dto; | ||
|
|
||
| import lombok.Builder; | ||
| import lombok.Getter; | ||
| import org.sejongisc.backend.backtest.entity.BacktestRun; | ||
| import org.sejongisc.backend.backtest.entity.Template; | ||
|
|
||
| import java.util.List; | ||
| @Builder | ||
| public record TemplateResponse( | ||
| List<Template> templates, | ||
| Template template, | ||
| List<BacktestRun> backtestRuns | ||
| ) {} |
This file contains hidden or 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
3 changes: 1 addition & 2 deletions
3
...isc/backend/template/entity/Template.java → ...isc/backend/backtest/entity/Template.java
This file contains hidden or 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
2 changes: 1 addition & 1 deletion
2
...end/template/entity/TemplateBookmark.java → ...end/backtest/entity/TemplateBookmark.java
This file contains hidden or 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
2 changes: 1 addition & 1 deletion
2
...backend/template/entity/TemplateLike.java → ...backend/backtest/entity/TemplateLike.java
This file contains hidden or 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
...mplate/repository/TemplateRepository.java → ...cktest/repository/TemplateRepository.java
This file contains hidden or 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 hidden or 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 hidden or 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
29 changes: 0 additions & 29 deletions
29
backend/src/main/java/org/sejongisc/backend/template/dto/TemplateRequest.java
This file was deleted.
Oops, something went wrong.
17 changes: 0 additions & 17 deletions
17
backend/src/main/java/org/sejongisc/backend/template/dto/TemplateResponse.java
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.