-
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.
Merge pull request #190 from CEOS-Developers/revert-188-revert-187-dev
- Loading branch information
Showing
18 changed files
with
229 additions
and
49 deletions.
There are no files selected for viewing
Validating CODEOWNERS rules …
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 +1 @@ | ||
* @hyunihs @suhhyun524 @mushroom1324 @haen-su @mirageoasis | ||
* @hyunihs @mushroom1324 @letskuku @yoonsseo @itsme-shawn @YoungGyo-00 |
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
26 changes: 26 additions & 0 deletions
26
src/main/java/ceos/backend/domain/application/dto/response/GetFinalAvailability.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,26 @@ | ||
package ceos.backend.domain.application.dto.response; | ||
|
||
import ceos.backend.domain.application.domain.Application; | ||
import lombok.Builder; | ||
import lombok.Getter; | ||
|
||
@Getter | ||
@Builder | ||
public class GetFinalAvailability { | ||
private boolean finalAvailability; // 활동 가능 여부 | ||
private String reason; // 활동 불가능 사유 | ||
|
||
@Builder | ||
public GetFinalAvailability(boolean finalCheck, String reason) { | ||
this.finalAvailability = finalCheck; | ||
this.reason = reason; | ||
} | ||
|
||
public static GetFinalAvailability of(Application application) { | ||
return GetFinalAvailability.builder() | ||
.finalAvailability(application.isFinalCheck()) | ||
.reason(application.getUnableReason()) | ||
.build(); | ||
} | ||
|
||
} |
25 changes: 25 additions & 0 deletions
25
src/main/java/ceos/backend/domain/application/dto/response/GetInterviewAvailability.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 ceos.backend.domain.application.dto.response; | ||
|
||
import ceos.backend.domain.application.domain.Application; | ||
import lombok.Builder; | ||
import lombok.Getter; | ||
|
||
@Getter | ||
@Builder | ||
public class GetInterviewAvailability { | ||
private boolean interviewAvailability; // 참여 가능 여부 | ||
private String reason; // 참여 불가능 사유 | ||
|
||
@Builder | ||
public GetInterviewAvailability(boolean interviewCheck, String reason) { | ||
this.interviewAvailability = interviewCheck; | ||
this.reason = reason; | ||
} | ||
|
||
public static GetInterviewAvailability of(Application application) { | ||
return GetInterviewAvailability.builder() | ||
.interviewAvailability(application.isInterviewCheck()) | ||
.reason(application.getUnableReason()) | ||
.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
12 changes: 12 additions & 0 deletions
12
...a/ceos/backend/domain/application/exception/exceptions/NotDeletableDuringRecruitment.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,12 @@ | ||
package ceos.backend.domain.application.exception.exceptions; | ||
|
||
import ceos.backend.domain.application.exception.ApplicationErrorCode; | ||
import ceos.backend.global.error.BaseErrorException; | ||
|
||
public class NotDeletableDuringRecruitment extends BaseErrorException { | ||
public static final NotDeletableDuringRecruitment EXCEPTION = new NotDeletableDuringRecruitment(); | ||
|
||
private NotDeletableDuringRecruitment() { | ||
super(ApplicationErrorCode.NOT_DELETABLE_DURING_RECRUITMENT); | ||
} | ||
} |
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.