diff --git a/src/main/java/page/clab/api/domain/hiring/recruitment/adapter/out/persistence/RecruitmentJpaEntity.java b/src/main/java/page/clab/api/domain/hiring/recruitment/adapter/out/persistence/RecruitmentJpaEntity.java index b268835f3..356997863 100644 --- a/src/main/java/page/clab/api/domain/hiring/recruitment/adapter/out/persistence/RecruitmentJpaEntity.java +++ b/src/main/java/page/clab/api/domain/hiring/recruitment/adapter/out/persistence/RecruitmentJpaEntity.java @@ -61,7 +61,7 @@ public class RecruitmentJpaEntity extends BaseEntity { @Column(nullable = false) @Size(min = 1, max = 10000, message = "{size.recruitment.description}") - private String description; + private String recruitmentDescription; @Column(nullable = false) @Size(min = 1, message = "{size.recruitment.target}") diff --git a/src/main/java/page/clab/api/domain/hiring/recruitment/application/dto/mapper/RecruitmentDtoMapper.java b/src/main/java/page/clab/api/domain/hiring/recruitment/application/dto/mapper/RecruitmentDtoMapper.java index 77e7bdadb..b005d3bab 100644 --- a/src/main/java/page/clab/api/domain/hiring/recruitment/application/dto/mapper/RecruitmentDtoMapper.java +++ b/src/main/java/page/clab/api/domain/hiring/recruitment/application/dto/mapper/RecruitmentDtoMapper.java @@ -18,7 +18,7 @@ public Recruitment fromDto(RecruitmentRequestDto requestDto) { .endDate(requestDto.getEndDate()) .recruitmentSchedule(requestDto.getRecruitmentSchedule()) .applicationType(requestDto.getApplicationType()) - .description(requestDto.getDescription()) + .recruitmentDescription(requestDto.getRecruitmentDescription()) .target(requestDto.getTarget()) .isDeleted(false) .build(); @@ -53,7 +53,7 @@ public RecruitmentDetailsResponseDto toDetailsDto(Recruitment recruitment) { .endDate(recruitment.getEndDate()) .recruitmentSchedule(recruitment.getRecruitmentSchedule()) .applicationType(recruitment.getApplicationType()) - .description(recruitment.getDescription()) + .recruitmentDescription(recruitment.getRecruitmentDescription()) .target(recruitment.getTarget()) .status(recruitment.getStatus().getDescription()) .updatedAt(recruitment.getUpdatedAt()) diff --git a/src/main/java/page/clab/api/domain/hiring/recruitment/application/dto/request/RecruitmentRequestDto.java b/src/main/java/page/clab/api/domain/hiring/recruitment/application/dto/request/RecruitmentRequestDto.java index cd2b7e68f..c95fa2fce 100644 --- a/src/main/java/page/clab/api/domain/hiring/recruitment/application/dto/request/RecruitmentRequestDto.java +++ b/src/main/java/page/clab/api/domain/hiring/recruitment/application/dto/request/RecruitmentRequestDto.java @@ -37,7 +37,7 @@ public class RecruitmentRequestDto { @NotNull(message = "{notNull.recruitment.description}") @Schema(description = "설명", example = "실무에 가까운 경험을 쌓을 수 있어요.", required = true) - private String description; + private String recruitmentDescription; @NotNull(message = "{notNull.recruitment.target}") @Schema(description = "대상", example = "2~3학년", required = true) diff --git a/src/main/java/page/clab/api/domain/hiring/recruitment/application/dto/request/RecruitmentUpdateRequestDto.java b/src/main/java/page/clab/api/domain/hiring/recruitment/application/dto/request/RecruitmentUpdateRequestDto.java index b7a60f726..cec90fbad 100644 --- a/src/main/java/page/clab/api/domain/hiring/recruitment/application/dto/request/RecruitmentUpdateRequestDto.java +++ b/src/main/java/page/clab/api/domain/hiring/recruitment/application/dto/request/RecruitmentUpdateRequestDto.java @@ -29,7 +29,7 @@ public class RecruitmentUpdateRequestDto { private ApplicationType applicationType; @Schema(description = "설명", example = "실무에 가까운 경험을 쌓을 수 있어요.") - private String description; + private String recruitmentDescription; @Schema(description = "대상", example = "2~3학년") private String target; diff --git a/src/main/java/page/clab/api/domain/hiring/recruitment/application/dto/response/RecruitmentDetailsResponseDto.java b/src/main/java/page/clab/api/domain/hiring/recruitment/application/dto/response/RecruitmentDetailsResponseDto.java index 2cc29c7a4..4260dbec6 100644 --- a/src/main/java/page/clab/api/domain/hiring/recruitment/application/dto/response/RecruitmentDetailsResponseDto.java +++ b/src/main/java/page/clab/api/domain/hiring/recruitment/application/dto/response/RecruitmentDetailsResponseDto.java @@ -16,7 +16,7 @@ public class RecruitmentDetailsResponseDto { private LocalDateTime endDate; private String recruitmentSchedule; private ApplicationType applicationType; - private String description; + private String recruitmentDescription; private String target; private String status; private LocalDateTime updatedAt; diff --git a/src/main/java/page/clab/api/domain/hiring/recruitment/domain/Recruitment.java b/src/main/java/page/clab/api/domain/hiring/recruitment/domain/Recruitment.java index 74e5a2bda..126869aef 100644 --- a/src/main/java/page/clab/api/domain/hiring/recruitment/domain/Recruitment.java +++ b/src/main/java/page/clab/api/domain/hiring/recruitment/domain/Recruitment.java @@ -29,7 +29,7 @@ public class Recruitment { private LocalDateTime endDate; private String recruitmentSchedule; private ApplicationType applicationType; - private String description; + private String recruitmentDescription; private String target; private RecruitmentStatus status; private Boolean isDeleted; @@ -42,7 +42,7 @@ public void update(RecruitmentUpdateRequestDto recruitmentUpdateRequestDto) { Optional.ofNullable(recruitmentUpdateRequestDto.getEndDate()).ifPresent(this::setEndDate); Optional.ofNullable(recruitmentUpdateRequestDto.getRecruitmentSchedule()).ifPresent(this::setRecruitmentSchedule); Optional.ofNullable(recruitmentUpdateRequestDto.getApplicationType()).ifPresent(this::setApplicationType); - Optional.ofNullable(recruitmentUpdateRequestDto.getDescription()).ifPresent(this::setDescription); + Optional.ofNullable(recruitmentUpdateRequestDto.getRecruitmentDescription()).ifPresent(this::setRecruitmentDescription); Optional.ofNullable(recruitmentUpdateRequestDto.getTarget()).ifPresent(this::setTarget); }