diff --git a/src/main/java/project/backend/domain/culturalevent/controller/CulturalEventController.java b/src/main/java/project/backend/domain/culturalevent/controller/CulturalEventController.java index 23a695c..2a382d7 100644 --- a/src/main/java/project/backend/domain/culturalevent/controller/CulturalEventController.java +++ b/src/main/java/project/backend/domain/culturalevent/controller/CulturalEventController.java @@ -14,7 +14,7 @@ import project.backend.domain.culturalevent.entity.CulturalEvent; import project.backend.domain.culturalevent.mapper.CulturalEventMapper; import project.backend.domain.culturalevent.service.CulturalEventService; -import project.backend.domain.culturalevnetcategory.entity.CategoryTitle; +import project.backend.domain.culturaleventcategory.entity.CategoryTitle; import project.backend.domain.culturalevnetinfo.service.CulturalEventInfoService; import project.backend.domain.keyword.dto.CulturalEventPopularKeywordListDto; import project.backend.domain.keyword.dto.CulturalEventSearchKeywordListDto; diff --git a/src/main/java/project/backend/domain/culturalevent/dto/CulturalEventCreateDto.java b/src/main/java/project/backend/domain/culturalevent/dto/CulturalEventCreateDto.java index 893bb65..b464d41 100644 --- a/src/main/java/project/backend/domain/culturalevent/dto/CulturalEventCreateDto.java +++ b/src/main/java/project/backend/domain/culturalevent/dto/CulturalEventCreateDto.java @@ -3,7 +3,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import lombok.*; -import project.backend.domain.culturalevnetcategory.entity.CategoryTitle; +import project.backend.domain.culturaleventcategory.entity.CategoryTitle; import project.backend.global.config.CustomDateDeserializer; import project.backend.global.config.CustomDateTimeDeserializer; diff --git a/src/main/java/project/backend/domain/culturalevent/entity/CulturalEvent.java b/src/main/java/project/backend/domain/culturalevent/entity/CulturalEvent.java index 2b054ba..8e222a6 100644 --- a/src/main/java/project/backend/domain/culturalevent/entity/CulturalEvent.java +++ b/src/main/java/project/backend/domain/culturalevent/entity/CulturalEvent.java @@ -3,7 +3,7 @@ import lombok.*; import project.backend.domain.common.entity.BaseEntity; import project.backend.domain.like.entity.CulturalEventLike; -import project.backend.domain.culturalevnetcategory.entity.CulturalEventCategory; +import project.backend.domain.culturaleventcategory.entity.CulturalEventCategory; import project.backend.domain.culturalevnetinfo.entity.CulturalEventInfo; import project.backend.domain.member.entity.Member; import project.backend.domain.place.entity.Place; diff --git a/src/main/java/project/backend/domain/culturalevent/repository/CulturalEventRepositoryCustom.java b/src/main/java/project/backend/domain/culturalevent/repository/CulturalEventRepositoryCustom.java index 74beba8..be0bc40 100644 --- a/src/main/java/project/backend/domain/culturalevent/repository/CulturalEventRepositoryCustom.java +++ b/src/main/java/project/backend/domain/culturalevent/repository/CulturalEventRepositoryCustom.java @@ -1,7 +1,7 @@ package project.backend.domain.culturalevent.repository; import project.backend.domain.culturalevent.entity.CulturalEvent; -import project.backend.domain.culturalevnetcategory.entity.CategoryTitle; +import project.backend.domain.culturaleventcategory.entity.CategoryTitle; import java.util.List; diff --git a/src/main/java/project/backend/domain/culturalevent/repository/CulturalEventRepositoryImpl.java b/src/main/java/project/backend/domain/culturalevent/repository/CulturalEventRepositoryImpl.java index a998363..077c9cf 100644 --- a/src/main/java/project/backend/domain/culturalevent/repository/CulturalEventRepositoryImpl.java +++ b/src/main/java/project/backend/domain/culturalevent/repository/CulturalEventRepositoryImpl.java @@ -1,6 +1,5 @@ package project.backend.domain.culturalevent.repository; -import com.querydsl.core.BooleanBuilder; import com.querydsl.core.types.OrderSpecifier; import com.querydsl.core.types.dsl.CaseBuilder; import com.querydsl.core.types.dsl.NumberTemplate; @@ -11,7 +10,7 @@ import org.springframework.data.domain.PageRequest; import org.springframework.data.domain.Pageable; import project.backend.domain.culturalevent.entity.CulturalEvent; -import project.backend.domain.culturalevnetcategory.entity.CategoryTitle; +import project.backend.domain.culturaleventcategory.entity.CategoryTitle; import project.backend.domain.member.entity.Member; import project.backend.domain.member.service.MemberJwtService; diff --git a/src/main/java/project/backend/domain/culturalevent/service/CulturalEventBatchService.java b/src/main/java/project/backend/domain/culturalevent/service/CulturalEventBatchService.java index a139ef9..51ed9c6 100644 --- a/src/main/java/project/backend/domain/culturalevent/service/CulturalEventBatchService.java +++ b/src/main/java/project/backend/domain/culturalevent/service/CulturalEventBatchService.java @@ -17,9 +17,9 @@ import project.backend.domain.culturalevent.entity.CulturalEvent; import project.backend.domain.culturalevent.mapper.CulturalEventMapper; import project.backend.domain.culturalevent.repository.CulturalEventRepository; -import project.backend.domain.culturalevnetcategory.entity.CategoryTitle; -import project.backend.domain.culturalevnetcategory.entity.CulturalEventCategory; -import project.backend.domain.culturalevnetcategory.service.CulturalEventCategoryService; +import project.backend.domain.culturaleventcategory.entity.CategoryTitle; +import project.backend.domain.culturaleventcategory.entity.CulturalEventCategory; +import project.backend.domain.culturaleventcategory.service.CulturalEventCategoryService; import project.backend.domain.culturalevnetinfo.dto.CulturalEventInfoCreateDto; import project.backend.domain.culturalevnetinfo.entity.CulturalEventInfo; import project.backend.domain.culturalevnetinfo.service.CulturalEventInfoService; diff --git a/src/main/java/project/backend/domain/culturalevent/service/CulturalEventService.java b/src/main/java/project/backend/domain/culturalevent/service/CulturalEventService.java index 6651009..c235511 100644 --- a/src/main/java/project/backend/domain/culturalevent/service/CulturalEventService.java +++ b/src/main/java/project/backend/domain/culturalevent/service/CulturalEventService.java @@ -7,7 +7,7 @@ import project.backend.domain.culturalevent.repository.CulturalEventRepository; import project.backend.domain.like.entity.CulturalEventLike; import project.backend.domain.like.repository.CulturalEventLikeRepository; -import project.backend.domain.culturalevnetcategory.entity.CategoryTitle; +import project.backend.domain.culturaleventcategory.entity.CategoryTitle; import project.backend.domain.member.entity.Member; import project.backend.domain.member.service.MemberJwtService; import project.backend.domain.notification.service.NotificationService; diff --git a/src/main/java/project/backend/domain/culturalevnetcategory/controller/CulturalEventCategoryController.java b/src/main/java/project/backend/domain/culturaleventcategory/controller/CulturalEventCategoryController.java similarity index 80% rename from src/main/java/project/backend/domain/culturalevnetcategory/controller/CulturalEventCategoryController.java rename to src/main/java/project/backend/domain/culturaleventcategory/controller/CulturalEventCategoryController.java index e3268bb..f107a9c 100644 --- a/src/main/java/project/backend/domain/culturalevnetcategory/controller/CulturalEventCategoryController.java +++ b/src/main/java/project/backend/domain/culturaleventcategory/controller/CulturalEventCategoryController.java @@ -1,4 +1,4 @@ -package project.backend.domain.culturalevnetcategory.controller; +package project.backend.domain.culturaleventcategory.controller; import io.swagger.annotations.Api; import io.swagger.annotations.ApiOperation; @@ -6,10 +6,10 @@ import org.springframework.http.HttpStatus; import org.springframework.http.ResponseEntity; import org.springframework.web.bind.annotation.*; -import project.backend.domain.culturalevnetcategory.dto.CulturalEventCategoryListDto; -import project.backend.domain.culturalevnetcategory.entity.CulturalEventCategory; -import project.backend.domain.culturalevnetcategory.mapper.CulturalEventCategoryMapper; -import project.backend.domain.culturalevnetcategory.service.CulturalEventCategoryService; +import project.backend.domain.culturaleventcategory.dto.CulturalEventCategoryListDto; +import project.backend.domain.culturaleventcategory.entity.CulturalEventCategory; +import project.backend.domain.culturaleventcategory.mapper.CulturalEventCategoryMapper; +import project.backend.domain.culturaleventcategory.service.CulturalEventCategoryService; import java.util.List; diff --git a/src/main/java/project/backend/domain/culturalevnetcategory/dto/CulturalEventCategoryListDto.java b/src/main/java/project/backend/domain/culturaleventcategory/dto/CulturalEventCategoryListDto.java similarity index 77% rename from src/main/java/project/backend/domain/culturalevnetcategory/dto/CulturalEventCategoryListDto.java rename to src/main/java/project/backend/domain/culturaleventcategory/dto/CulturalEventCategoryListDto.java index b730eae..24784e5 100644 --- a/src/main/java/project/backend/domain/culturalevnetcategory/dto/CulturalEventCategoryListDto.java +++ b/src/main/java/project/backend/domain/culturaleventcategory/dto/CulturalEventCategoryListDto.java @@ -1,4 +1,4 @@ -package project.backend.domain.culturalevnetcategory.dto; +package project.backend.domain.culturaleventcategory.dto; import lombok.*; @Getter diff --git a/src/main/java/project/backend/domain/culturalevnetcategory/dto/CulturalEventCategoryPostRequestDto.java b/src/main/java/project/backend/domain/culturaleventcategory/dto/CulturalEventCategoryPostRequestDto.java similarity index 60% rename from src/main/java/project/backend/domain/culturalevnetcategory/dto/CulturalEventCategoryPostRequestDto.java rename to src/main/java/project/backend/domain/culturaleventcategory/dto/CulturalEventCategoryPostRequestDto.java index 2607daf..ed9161d 100644 --- a/src/main/java/project/backend/domain/culturalevnetcategory/dto/CulturalEventCategoryPostRequestDto.java +++ b/src/main/java/project/backend/domain/culturaleventcategory/dto/CulturalEventCategoryPostRequestDto.java @@ -1,9 +1,7 @@ -package project.backend.domain.culturalevnetcategory.dto; +package project.backend.domain.culturaleventcategory.dto; import lombok.*; -import project.backend.domain.culturalevnetcategory.entity.CategoryTitle; - -import javax.persistence.Column; +import project.backend.domain.culturaleventcategory.entity.CategoryTitle; @Getter @Setter diff --git a/src/main/java/project/backend/domain/culturalevnetcategory/entity/CategoryTitle.java b/src/main/java/project/backend/domain/culturaleventcategory/entity/CategoryTitle.java similarity index 90% rename from src/main/java/project/backend/domain/culturalevnetcategory/entity/CategoryTitle.java rename to src/main/java/project/backend/domain/culturaleventcategory/entity/CategoryTitle.java index 55143c5..189402a 100644 --- a/src/main/java/project/backend/domain/culturalevnetcategory/entity/CategoryTitle.java +++ b/src/main/java/project/backend/domain/culturaleventcategory/entity/CategoryTitle.java @@ -1,4 +1,4 @@ -package project.backend.domain.culturalevnetcategory.entity; +package project.backend.domain.culturaleventcategory.entity; import lombok.Getter; diff --git a/src/main/java/project/backend/domain/culturalevnetcategory/entity/CulturalEventCategory.java b/src/main/java/project/backend/domain/culturaleventcategory/entity/CulturalEventCategory.java similarity index 86% rename from src/main/java/project/backend/domain/culturalevnetcategory/entity/CulturalEventCategory.java rename to src/main/java/project/backend/domain/culturaleventcategory/entity/CulturalEventCategory.java index 249f32a..66b0eea 100644 --- a/src/main/java/project/backend/domain/culturalevnetcategory/entity/CulturalEventCategory.java +++ b/src/main/java/project/backend/domain/culturaleventcategory/entity/CulturalEventCategory.java @@ -1,4 +1,4 @@ -package project.backend.domain.culturalevnetcategory.entity; +package project.backend.domain.culturaleventcategory.entity; import lombok.AccessLevel; import lombok.Builder; @@ -6,8 +6,6 @@ import lombok.RequiredArgsConstructor; import project.backend.domain.common.entity.BaseEntity; import project.backend.domain.culturalevent.entity.CulturalEvent; -import project.backend.domain.member.entity.SocialType; -import project.backend.domain.ticket.entity.Ticket; import javax.persistence.*; import java.util.ArrayList; diff --git a/src/main/java/project/backend/domain/culturalevnetcategory/mapper/CulturalEventCategoryMapper.java b/src/main/java/project/backend/domain/culturaleventcategory/mapper/CulturalEventCategoryMapper.java similarity index 81% rename from src/main/java/project/backend/domain/culturalevnetcategory/mapper/CulturalEventCategoryMapper.java rename to src/main/java/project/backend/domain/culturaleventcategory/mapper/CulturalEventCategoryMapper.java index 0d77396..6106f7d 100644 --- a/src/main/java/project/backend/domain/culturalevnetcategory/mapper/CulturalEventCategoryMapper.java +++ b/src/main/java/project/backend/domain/culturaleventcategory/mapper/CulturalEventCategoryMapper.java @@ -1,11 +1,11 @@ -package project.backend.domain.culturalevnetcategory.mapper; +package project.backend.domain.culturaleventcategory.mapper; import org.mapstruct.Mapper; import org.mapstruct.Mapping; import org.mapstruct.ReportingPolicy; import org.mapstruct.factory.Mappers; -import project.backend.domain.culturalevnetcategory.dto.CulturalEventCategoryListDto; -import project.backend.domain.culturalevnetcategory.entity.CulturalEventCategory; +import project.backend.domain.culturaleventcategory.dto.CulturalEventCategoryListDto; +import project.backend.domain.culturaleventcategory.entity.CulturalEventCategory; import java.util.List; diff --git a/src/main/java/project/backend/domain/culturalevnetcategory/repository/CulturalEventCategoryRepository.java b/src/main/java/project/backend/domain/culturaleventcategory/repository/CulturalEventCategoryRepository.java similarity index 55% rename from src/main/java/project/backend/domain/culturalevnetcategory/repository/CulturalEventCategoryRepository.java rename to src/main/java/project/backend/domain/culturaleventcategory/repository/CulturalEventCategoryRepository.java index 9182856..d5f6af9 100644 --- a/src/main/java/project/backend/domain/culturalevnetcategory/repository/CulturalEventCategoryRepository.java +++ b/src/main/java/project/backend/domain/culturaleventcategory/repository/CulturalEventCategoryRepository.java @@ -1,9 +1,8 @@ -package project.backend.domain.culturalevnetcategory.repository; +package project.backend.domain.culturaleventcategory.repository; import org.springframework.data.jpa.repository.JpaRepository; -import project.backend.domain.culturalevnetcategory.entity.CategoryTitle; -import project.backend.domain.culturalevnetcategory.entity.CulturalEventCategory; -import project.backend.domain.place.entity.Place; +import project.backend.domain.culturaleventcategory.entity.CategoryTitle; +import project.backend.domain.culturaleventcategory.entity.CulturalEventCategory; import java.util.Optional; diff --git a/src/main/java/project/backend/domain/culturalevnetcategory/service/CulturalCategoryInitService.java b/src/main/java/project/backend/domain/culturaleventcategory/service/CulturalCategoryInitService.java similarity index 72% rename from src/main/java/project/backend/domain/culturalevnetcategory/service/CulturalCategoryInitService.java rename to src/main/java/project/backend/domain/culturaleventcategory/service/CulturalCategoryInitService.java index 59c02c4..9e1d1cc 100644 --- a/src/main/java/project/backend/domain/culturalevnetcategory/service/CulturalCategoryInitService.java +++ b/src/main/java/project/backend/domain/culturaleventcategory/service/CulturalCategoryInitService.java @@ -1,15 +1,12 @@ -package project.backend.domain.culturalevnetcategory.service; +package project.backend.domain.culturaleventcategory.service; import lombok.RequiredArgsConstructor; import org.springframework.boot.ApplicationArguments; import org.springframework.boot.ApplicationRunner; import org.springframework.stereotype.Component; -import project.backend.domain.category.entity.Category; -import project.backend.domain.culturalevnetcategory.entity.CategoryTitle; -import project.backend.domain.culturalevnetcategory.entity.CulturalEventCategory; -import project.backend.domain.culturalevnetcategory.repository.CulturalEventCategoryRepository; -import project.backend.domain.quit.entity.Quit; -import project.backend.domain.quit.repository.QuitRepository; +import project.backend.domain.culturaleventcategory.entity.CategoryTitle; +import project.backend.domain.culturaleventcategory.entity.CulturalEventCategory; +import project.backend.domain.culturaleventcategory.repository.CulturalEventCategoryRepository; import java.util.ArrayList; import java.util.List; diff --git a/src/main/java/project/backend/domain/culturalevnetcategory/service/CulturalEventCategoryService.java b/src/main/java/project/backend/domain/culturaleventcategory/service/CulturalEventCategoryService.java similarity index 85% rename from src/main/java/project/backend/domain/culturalevnetcategory/service/CulturalEventCategoryService.java rename to src/main/java/project/backend/domain/culturaleventcategory/service/CulturalEventCategoryService.java index 65c8988..69f9584 100644 --- a/src/main/java/project/backend/domain/culturalevnetcategory/service/CulturalEventCategoryService.java +++ b/src/main/java/project/backend/domain/culturaleventcategory/service/CulturalEventCategoryService.java @@ -1,14 +1,14 @@ -package project.backend.domain.culturalevnetcategory.service; +package project.backend.domain.culturaleventcategory.service; import lombok.RequiredArgsConstructor; import org.springframework.data.domain.Sort; import org.springframework.stereotype.Service; import org.springframework.transaction.annotation.Transactional; -import project.backend.domain.culturalevnetcategory.dto.CulturalEventCategoryPostRequestDto; -import project.backend.domain.culturalevnetcategory.entity.CategoryTitle; -import project.backend.domain.culturalevnetcategory.entity.CulturalEventCategory; -import project.backend.domain.culturalevnetcategory.mapper.CulturalEventCategoryMapper; -import project.backend.domain.culturalevnetcategory.repository.CulturalEventCategoryRepository; +import project.backend.domain.culturaleventcategory.dto.CulturalEventCategoryPostRequestDto; +import project.backend.domain.culturaleventcategory.entity.CategoryTitle; +import project.backend.domain.culturaleventcategory.entity.CulturalEventCategory; +import project.backend.domain.culturaleventcategory.mapper.CulturalEventCategoryMapper; +import project.backend.domain.culturaleventcategory.repository.CulturalEventCategoryRepository; import project.backend.global.error.exception.BusinessException; import project.backend.global.error.exception.ErrorCode; diff --git a/src/main/java/project/backend/domain/ticketingsite/entity/TicketingSite.java b/src/main/java/project/backend/domain/ticketingsite/entity/TicketingSite.java index 88ad55f..226d752 100644 --- a/src/main/java/project/backend/domain/ticketingsite/entity/TicketingSite.java +++ b/src/main/java/project/backend/domain/ticketingsite/entity/TicketingSite.java @@ -6,11 +6,8 @@ import lombok.RequiredArgsConstructor; import project.backend.domain.common.entity.BaseEntity; import project.backend.domain.culturalevent.entity.CulturalEvent; -import project.backend.domain.culturalevnetcategory.entity.CulturalEventCategory; import javax.persistence.*; -import java.util.ArrayList; -import java.util.List; import java.util.Optional; @Entity