Skip to content

Commit

Permalink
Merge pull request #110 from nar0ng/refactor/#15-refactor-log-response
Browse files Browse the repository at this point in the history
🔨 refact: 리스트 조회 시 id 값 추가로 반환
  • Loading branch information
nar0ng authored Aug 18, 2024
2 parents a647685 + 6676ec0 commit e200e98
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
import cotato.growingpain.member.domain.entity.Member;

public record ActivityLogRequestDTO(
Long id,
ActivityCategory activityCategory,
String activityName,
String role,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
@Slf4j
@Builder
public record JobPostListRetrieveDTO(
Long id,
String companyName,
String jobPart,
List<JobApplicationListRetrieveDTO> jobApplications
Expand All @@ -18,6 +19,7 @@ public static JobPostListRetrieveDTO fromEntity(JobPost jobPost) {
.toList();

return JobPostListRetrieveDTO.builder()
.id(jobPost.getId())
.companyName(jobPost.getCompanyName())
.jobPart(jobPost.getJobPart())
.jobApplications(jobApplicationList)
Expand Down

0 comments on commit e200e98

Please sign in to comment.