-
Notifications
You must be signed in to change notification settings - Fork 0
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
1 parent
3dbbe0a
commit b6a778d
Showing
8 changed files
with
109 additions
and
4 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
33 changes: 33 additions & 0 deletions
33
src/main/java/kr/co/studyhubinu/studyhubserver/apply/dto/data/RejectApplyUserData.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,33 @@ | ||
package kr.co.studyhubinu.studyhubserver.apply.dto.data; | ||
|
||
import kr.co.studyhubinu.studyhubserver.apply.enums.Inspection; | ||
import kr.co.studyhubinu.studyhubserver.user.enums.MajorType; | ||
import lombok.Builder; | ||
import lombok.Getter; | ||
|
||
import java.time.LocalDateTime; | ||
|
||
@Getter | ||
public class RejectApplyUserData { | ||
|
||
private final Long id; | ||
private final String nickname; | ||
private final MajorType major; | ||
private final String imageUrl; | ||
private final String introduce; | ||
private final LocalDateTime createdDate; | ||
private final Inspection inspection; | ||
private final String rejectReason; | ||
|
||
@Builder | ||
public RejectApplyUserData(Long id, String nickname, MajorType major, String imageUrl, String introduce, LocalDateTime createdDate, Inspection inspection, String rejectReason) { | ||
this.id = id; | ||
this.nickname = nickname; | ||
this.major = major; | ||
this.imageUrl = imageUrl; | ||
this.introduce = introduce; | ||
this.createdDate = createdDate; | ||
this.inspection = inspection; | ||
this.rejectReason = rejectReason; | ||
} | ||
} |
19 changes: 19 additions & 0 deletions
19
...ain/java/kr/co/studyhubinu/studyhubserver/apply/dto/response/FindRejectApplyResponse.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,19 @@ | ||
package kr.co.studyhubinu.studyhubserver.apply.dto.response; | ||
|
||
import kr.co.studyhubinu.studyhubserver.apply.dto.data.RejectApplyUserData; | ||
import lombok.Builder; | ||
import lombok.Getter; | ||
import org.springframework.data.domain.Slice; | ||
|
||
@Getter | ||
public class FindRejectApplyResponse { | ||
|
||
Long totalCount; | ||
Slice<RejectApplyUserData> rejectApplyUserData; | ||
|
||
@Builder | ||
public FindRejectApplyResponse(Long totalCount, Slice<RejectApplyUserData> rejectApplyUserData) { | ||
this.totalCount = totalCount; | ||
this.rejectApplyUserData = rejectApplyUserData; | ||
} | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,6 +29,8 @@ spring: | |
batch: | ||
jdbc: | ||
initialize-schema: ALWAYS | ||
job: | ||
enabled: false | ||
|
||
mail: | ||
host: smtp.gmail.com | ||
|