-
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.
Browse files
Browse the repository at this point in the history
#47 [feat] 자기소개서 저장 로직 변경
- Loading branch information
Showing
7 changed files
with
40 additions
and
16 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
6 changes: 0 additions & 6 deletions
6
src/main/java/com/example/letscareer/self_intro/dto/SaveSelfIntroRequest.java
This file was deleted.
Oops, something went wrong.
7 changes: 7 additions & 0 deletions
7
src/main/java/com/example/letscareer/self_intro/dto/SelfIntroDTO.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,7 @@ | ||
package com.example.letscareer.self_intro.dto; | ||
|
||
public record SelfIntroDTO( | ||
String title, | ||
int sequence, | ||
String content) { | ||
} |
10 changes: 10 additions & 0 deletions
10
src/main/java/com/example/letscareer/self_intro/dto/request/SaveSelfIntroRequest.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,10 @@ | ||
package com.example.letscareer.self_intro.dto.request; | ||
|
||
import com.example.letscareer.self_intro.dto.SelfIntroDTO; | ||
|
||
import java.util.List; | ||
|
||
public record SaveSelfIntroRequest( | ||
List<SelfIntroDTO> selfIntros | ||
) { | ||
} |
2 changes: 2 additions & 0 deletions
2
src/main/java/com/example/letscareer/self_intro/repository/SelfIntroRepository.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,9 +1,11 @@ | ||
package com.example.letscareer.self_intro.repository; | ||
|
||
import com.example.letscareer.self_intro.domain.SelfIntro; | ||
import com.example.letscareer.stage.domain.Stage; | ||
import org.springframework.data.jpa.repository.JpaRepository; | ||
import org.springframework.stereotype.Repository; | ||
|
||
@Repository | ||
public interface SelfIntroRepository extends JpaRepository<SelfIntro, Long> { | ||
void deleteByStage(Stage stage); | ||
} |
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