-
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
13 changed files
with
131 additions
and
101 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
18 changes: 18 additions & 0 deletions
18
...cation/src/main/java/team/retum/jobis/domain/recruitment/spi/vo/StudentRecruitmentVO.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,18 @@ | ||
package team.retum.jobis.domain.recruitment.spi.vo; | ||
|
||
import lombok.AllArgsConstructor; | ||
import lombok.Getter; | ||
|
||
@Getter | ||
@AllArgsConstructor | ||
public class StudentRecruitmentVO { | ||
|
||
private final long recruitmentId; | ||
private final String companyName; | ||
private final int trainPay; | ||
private final boolean militarySupport; | ||
private final String companyLogoUrl; | ||
private final String jobCodes; | ||
private final boolean isBookmarked; | ||
|
||
} |
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
24 changes: 0 additions & 24 deletions
24
...va/team/retum/jobis/domain/recruitment/persistence/repository/vo/QueryRecruitmentsVO.java
This file was deleted.
Oops, something went wrong.
14 changes: 14 additions & 0 deletions
14
.../retum/jobis/domain/recruitment/persistence/repository/vo/QueryStudentRecruitmentsVO.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,14 @@ | ||
package team.retum.jobis.domain.recruitment.persistence.repository.vo; | ||
|
||
import com.querydsl.core.annotations.QueryProjection; | ||
import team.retum.jobis.domain.recruitment.spi.vo.StudentRecruitmentVO; | ||
|
||
public class QueryStudentRecruitmentsVO extends StudentRecruitmentVO { | ||
|
||
@QueryProjection | ||
public QueryStudentRecruitmentsVO(long recruitmentId, String companyName, int trainPay, | ||
boolean militarySupport, String companyLogoUrl, String jobCodes, | ||
boolean isBookmarked) { | ||
super(recruitmentId, companyName, trainPay, militarySupport, companyLogoUrl, jobCodes, isBookmarked); | ||
} | ||
} |
25 changes: 25 additions & 0 deletions
25
.../retum/jobis/domain/recruitment/persistence/repository/vo/QueryTeacherRecruitmentsVO.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,25 @@ | ||
package team.retum.jobis.domain.recruitment.persistence.repository.vo; | ||
|
||
import com.querydsl.core.annotations.QueryProjection; | ||
import lombok.Getter; | ||
import team.retum.jobis.domain.company.model.CompanyType; | ||
import team.retum.jobis.domain.recruitment.model.RecruitStatus; | ||
import team.retum.jobis.domain.recruitment.spi.vo.TeacherRecruitmentVO; | ||
|
||
import java.time.LocalDate; | ||
|
||
@Getter | ||
public class QueryTeacherRecruitmentsVO extends TeacherRecruitmentVO { | ||
|
||
@QueryProjection | ||
public QueryTeacherRecruitmentsVO(long recruitmentId, RecruitStatus recruitStatus, | ||
LocalDate startDate, LocalDate endDate, String companyName, | ||
CompanyType companyType, String jobCodes, long totalHiring, | ||
long requestedApplicationCount, long approvedApplicationCount, | ||
long companyId) { | ||
super(recruitmentId, recruitStatus, startDate, endDate, | ||
companyName, companyType, jobCodes, totalHiring, | ||
requestedApplicationCount, approvedApplicationCount, | ||
companyId); | ||
} | ||
} |
Oops, something went wrong.