-
Notifications
You must be signed in to change notification settings - Fork 2
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
21 changed files
with
207 additions
and
74 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
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
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
63 changes: 63 additions & 0 deletions
63
src/main/java/umc/kkijuk/server/record/controller/response/RecordDownResponse.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,63 @@ | ||
package umc.kkijuk.server.record.controller.response; | ||
|
||
import lombok.AllArgsConstructor; | ||
import lombok.Builder; | ||
import lombok.Data; | ||
import lombok.Getter; | ||
import umc.kkijuk.server.member.domain.Member; | ||
import umc.kkijuk.server.record.domain.Record; | ||
|
||
import java.time.LocalDate; | ||
import java.util.List; | ||
|
||
@Data | ||
@Getter | ||
@Builder | ||
@AllArgsConstructor | ||
public class RecordDownResponse { | ||
private String address; | ||
private String profileImageUrl; | ||
|
||
private List<EducationResponse> educationList; | ||
|
||
private List<ResumeResponse> activitiesAndExperiences; | ||
private List<ResumeResponse> employments; | ||
private List<ResumeResponse> projects; | ||
private List<ResumeResponse> eduCareers; | ||
|
||
private List<AwardResponse> awards; | ||
private List<LicenseResponse> licenses; | ||
private List<SkillResponse> skills; | ||
private List<FileResponse> files; | ||
|
||
private String name; | ||
private LocalDate birthday; | ||
private String phone; | ||
private String email; | ||
|
||
public RecordDownResponse(Record record, Member member, | ||
List<EducationResponse> educationList, List<ResumeResponse> employments, List<ResumeResponse> activitiesAndExperiences, | ||
List<ResumeResponse> projectsAndComp, List<ResumeResponse> eduCareers, List<AwardResponse> awards, | ||
List<LicenseResponse> licenses, List<SkillResponse> skills, List<FileResponse> files) { | ||
|
||
this.address = record.getAddress(); | ||
this.profileImageUrl=record.getProfileImageUrl(); | ||
|
||
this.educationList=educationList; | ||
this.employments = employments; | ||
this.activitiesAndExperiences = activitiesAndExperiences; | ||
this.projects = projectsAndComp; | ||
this.eduCareers = eduCareers; | ||
|
||
this.awards = awards; | ||
this.licenses = licenses; | ||
this.skills = skills; | ||
this.files = files; | ||
|
||
this.name = member.getName(); | ||
this.birthday=member.getBirthDate(); | ||
this.phone=member.getPhoneNumber(); | ||
this.email=member.getEmail(); | ||
|
||
} | ||
} |
43 changes: 0 additions & 43 deletions
43
src/main/java/umc/kkijuk/server/record/controller/response/RecordListResponse.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
21 changes: 21 additions & 0 deletions
21
src/main/java/umc/kkijuk/server/record/controller/response/ResumeResponse.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,21 @@ | ||
package umc.kkijuk.server.record.controller.response; | ||
|
||
import lombok.*; | ||
|
||
import java.time.LocalDate; | ||
|
||
@Data | ||
@Getter | ||
@Setter | ||
@Builder | ||
@AllArgsConstructor | ||
public class ResumeResponse { | ||
private Long id; | ||
private String category; | ||
private String name; | ||
private String alias; | ||
private String summary; | ||
private LocalDate startdate; | ||
private LocalDate enddate; | ||
|
||
} |
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
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.