Skip to content

Commit

Permalink
style: dto 디렉토리 worker, company로 분리
Browse files Browse the repository at this point in the history
  • Loading branch information
dgjinsu committed Jan 29, 2024
1 parent afbcc42 commit 7558aae
Show file tree
Hide file tree
Showing 9 changed files with 10 additions and 19 deletions.
Original file line number Diff line number Diff line change
@@ -1,13 +1,10 @@
package jikgong.domain.jobPost.dtos;
package jikgong.domain.jobPost.dtos.company;

import jikgong.domain.apply.entity.ApplyStatus;
import jikgong.domain.jobPost.entity.JobPost;
import jikgong.domain.jobPost.entity.Tech;
import jikgong.domain.workDate.entity.WorkDate;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Getter;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,16 +1,14 @@
package jikgong.domain.jobPost.dtos;
package jikgong.domain.jobPost.dtos.company;

import jikgong.domain.jobPost.entity.JobPost;
import jikgong.domain.jobPost.entity.Tech;
import jikgong.domain.workDate.dtos.WorkDateResponse;
import jikgong.domain.workDate.entity.WorkDate;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Getter;

import java.time.LocalDate;
import java.time.LocalTime;
import java.util.ArrayList;
import java.util.List;
import java.util.stream.Collectors;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package jikgong.domain.jobPost.dtos;
package jikgong.domain.jobPost.dtos.company;

import jikgong.domain.jobPost.entity.JobPost;
import jikgong.domain.jobPost.entity.Tech;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
package jikgong.domain.jobPost.dtos;
package jikgong.domain.jobPost.dtos.company;

import jikgong.domain.jobPost.entity.JobPost;
import jikgong.domain.jobPost.entity.Tech;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Getter;

import java.time.LocalTime;

@AllArgsConstructor
@Getter
@Builder
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package jikgong.domain.jobPost.dtos;
package jikgong.domain.jobPost.dtos.company;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotEmpty;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package jikgong.domain.jobPost.dtos;
package jikgong.domain.jobPost.dtos.company;

import jikgong.domain.jobPost.entity.JobPost;
import jikgong.domain.jobPost.entity.Tech;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package jikgong.domain.jobPost.dtos;
package jikgong.domain.jobPost.dtos.company;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotEmpty;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package jikgong.domain.jobPost.dtos;
package jikgong.domain.jobPost.dtos.company;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotEmpty;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package jikgong.domain.jobPost.service;

import jikgong.domain.apply.repository.ApplyRepository;
import jikgong.domain.jobPost.dtos.*;
import jikgong.domain.jobPost.dtos.company.*;
import jikgong.domain.jobPost.entity.JobPost;
import jikgong.domain.jobPost.entity.JobPostStatus;
import jikgong.domain.jobPost.repository.JobPostRepository;
Expand Down Expand Up @@ -39,8 +38,7 @@
@RequiredArgsConstructor
@Transactional
@Slf4j
public class JobPostService {
private final ApplyRepository applyRepository;
public class JobPostCompanyService {
private final JobPostRepository jobPostRepository;
private final JobPostImageRepository jobPostImageRepository;
private final JobPostImageService jobPostImageService;
Expand Down

0 comments on commit 7558aae

Please sign in to comment.