-
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.
- Loading branch information
Showing
7 changed files
with
137 additions
and
79 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
72 changes: 72 additions & 0 deletions
72
src/main/java/ceos/backend/domain/recruitment/dto/RecruitmentDTO.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,72 @@ | ||
package ceos.backend.domain.recruitment.dto; | ||
|
||
|
||
import ceos.backend.domain.recruitment.domain.Recruitment; | ||
import java.time.LocalDate; | ||
import lombok.Builder; | ||
import lombok.Getter; | ||
|
||
@Getter | ||
public class RecruitmentDTO { | ||
private int generation; | ||
private String prodStudyUrl; | ||
private String designStudyUrl; | ||
private String devStudyUrl; | ||
private LocalDate startDateDoc; | ||
private LocalDate endDateDoc; | ||
private LocalDate resultDateDoc; | ||
private LocalDate startDateInterview; | ||
private LocalDate endDateInterview; | ||
private LocalDate resultDateFinal; | ||
private String openChatUrl; | ||
private LocalDate otDate; | ||
private LocalDate demodayDate; | ||
|
||
@Builder | ||
public RecruitmentDTO( | ||
int generation, | ||
String prodStudyUrl, | ||
String designStudyUrl, | ||
String devStudyUrl, | ||
LocalDate startDateDoc, | ||
LocalDate endDateDoc, | ||
LocalDate resultDateDoc, | ||
LocalDate startDateInterview, | ||
LocalDate endDateInterview, | ||
LocalDate resultDateFinal, | ||
String openChatUrl, | ||
LocalDate otDate, | ||
LocalDate demodayDate) { | ||
this.generation = generation; | ||
this.prodStudyUrl = prodStudyUrl; | ||
this.designStudyUrl = designStudyUrl; | ||
this.devStudyUrl = devStudyUrl; | ||
this.startDateDoc = startDateDoc; | ||
this.endDateDoc = endDateDoc; | ||
this.resultDateDoc = resultDateDoc; | ||
this.startDateInterview = startDateInterview; | ||
this.endDateInterview = endDateInterview; | ||
this.resultDateFinal = resultDateFinal; | ||
this.openChatUrl = openChatUrl; | ||
this.otDate = otDate; | ||
this.demodayDate = demodayDate; | ||
} | ||
|
||
public static RecruitmentDTO from(Recruitment recruitment) { | ||
return RecruitmentDTO.builder() | ||
.generation(recruitment.getGeneration()) | ||
.prodStudyUrl(recruitment.getProdStudyUrl()) | ||
.designStudyUrl(recruitment.getDesignStudyUrl()) | ||
.devStudyUrl(recruitment.getDevStudyUrl()) | ||
.startDateDoc(recruitment.getStartDateDoc()) | ||
.endDateDoc(recruitment.getEndDateDoc()) | ||
.resultDateDoc(recruitment.getResultDateDoc()) | ||
.startDateInterview(recruitment.getStartDateInterview()) | ||
.endDateInterview(recruitment.getEndDateInterview()) | ||
.resultDateFinal(recruitment.getResultDateFinal()) | ||
.openChatUrl(recruitment.getOpenChatUrl()) | ||
.otDate(recruitment.getOtDate()) | ||
.demodayDate(recruitment.getDemodayDate()) | ||
.build(); | ||
} | ||
} |
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
22 changes: 0 additions & 22 deletions
22
src/main/java/ceos/backend/domain/recruitment/dto/request/UpdateRecruitmentRequest.java
This file was deleted.
Oops, something went wrong.
16 changes: 0 additions & 16 deletions
16
src/main/java/ceos/backend/domain/recruitment/dto/response/OpenChatUrlResponse.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