forked from Kernel360/f1-JDON-Backend
-
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.
Feature: 기술 스택 기반 원티드 JD 및 인프런 강의 조회 API
- Loading branch information
1 parent
05ec2da
commit 3c6547d
Showing
9 changed files
with
161 additions
and
100 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
35 changes: 35 additions & 0 deletions
35
module-api/src/main/java/kernel/jdon/skill/dto/object/FindLectureDto.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,35 @@ | ||
package kernel.jdon.skill.dto.object; | ||
|
||
import com.querydsl.core.annotations.QueryProjection; | ||
|
||
import lombok.AccessLevel; | ||
import lombok.Builder; | ||
import lombok.Getter; | ||
import lombok.NoArgsConstructor; | ||
|
||
@Getter | ||
@NoArgsConstructor(access = AccessLevel.PRIVATE) | ||
public class FindLectureDto { | ||
private Long lectureId; | ||
private String title; | ||
private String lectureUrl; | ||
private String imageUrl; | ||
private String instructor; | ||
private Long studentCount; | ||
private Integer price; | ||
private Boolean isFavorite; | ||
|
||
@Builder | ||
@QueryProjection | ||
public FindLectureDto(Long lectureId, String title, String lectureUrl, String imageUrl, String instructor, | ||
Long studentCount, Integer price) { | ||
this.lectureId = lectureId; | ||
this.title = title; | ||
this.lectureUrl = lectureUrl; | ||
this.imageUrl = imageUrl; | ||
this.instructor = instructor; | ||
this.studentCount = studentCount; | ||
this.price = price; | ||
this.isFavorite = false; // todo 이슈번호 #189에서 수정 | ||
} | ||
} |
26 changes: 26 additions & 0 deletions
26
module-api/src/main/java/kernel/jdon/skill/dto/object/FindWantedJdDto.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 kernel.jdon.skill.dto.object; | ||
|
||
import com.querydsl.core.annotations.QueryProjection; | ||
|
||
import lombok.AccessLevel; | ||
import lombok.Builder; | ||
import lombok.Getter; | ||
import lombok.NoArgsConstructor; | ||
|
||
@Getter | ||
@Builder | ||
@NoArgsConstructor(access = AccessLevel.PRIVATE) | ||
public class FindWantedJdDto { | ||
private String company; | ||
private String title; | ||
private String imageUrl; | ||
private String jdUrl; | ||
|
||
@QueryProjection | ||
public FindWantedJdDto(String company, String title, String imageUrl, String jdUrl) { | ||
this.company = company; | ||
this.title = title; | ||
this.imageUrl = imageUrl; | ||
this.jdUrl = jdUrl; | ||
} | ||
} |
18 changes: 0 additions & 18 deletions
18
module-api/src/main/java/kernel/jdon/skill/dto/response/FindJdResponse.java
This file was deleted.
Oops, something went wrong.
22 changes: 0 additions & 22 deletions
22
module-api/src/main/java/kernel/jdon/skill/dto/response/FindLectureResponse.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
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