From 432dca09bb2d36963e0877c85c1294bafcba187f Mon Sep 17 00:00:00 2001 From: Dora Choo Date: Wed, 24 Jul 2024 15:56:26 +0900 Subject: [PATCH] =?UTF-8?q?refactor:=20common=20=ED=8C=A8=ED=82=A4?= =?UTF-8?q?=EC=A7=80=EB=AA=85=EC=9D=84=20global=EB=A1=9C=20=EB=B3=80?= =?UTF-8?q?=EA=B2=BD=20(#61)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../zzang/chongdae/comment/repository/entity/CommentEntity.java | 2 +- .../chongdae/{common => global}/config/JpaAuditingConfig.java | 2 +- .../zzang/chongdae/{common => global}/config/SwaggerConfig.java | 2 +- .../{common => global}/repository/entity/BaseTimeEntity.java | 2 +- .../zzang/chongdae/member/repository/entity/MemberEntity.java | 2 +- .../chongdae/offering/repository/entity/OfferingEntity.java | 2 +- .../offeringmember/repository/entity/OfferingMemberEntity.java | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) rename backend/src/main/java/com/zzang/chongdae/{common => global}/config/JpaAuditingConfig.java (82%) rename backend/src/main/java/com/zzang/chongdae/{common => global}/config/SwaggerConfig.java (94%) rename backend/src/main/java/com/zzang/chongdae/{common => global}/repository/entity/BaseTimeEntity.java (93%) diff --git a/backend/src/main/java/com/zzang/chongdae/comment/repository/entity/CommentEntity.java b/backend/src/main/java/com/zzang/chongdae/comment/repository/entity/CommentEntity.java index 2a7cda3b1..c51a4326a 100644 --- a/backend/src/main/java/com/zzang/chongdae/comment/repository/entity/CommentEntity.java +++ b/backend/src/main/java/com/zzang/chongdae/comment/repository/entity/CommentEntity.java @@ -1,6 +1,6 @@ package com.zzang.chongdae.comment.repository.entity; -import com.zzang.chongdae.common.repository.entity.BaseTimeEntity; +import com.zzang.chongdae.global.repository.entity.BaseTimeEntity; import com.zzang.chongdae.member.repository.entity.MemberEntity; import com.zzang.chongdae.offering.repository.entity.OfferingEntity; import jakarta.persistence.Column; diff --git a/backend/src/main/java/com/zzang/chongdae/common/config/JpaAuditingConfig.java b/backend/src/main/java/com/zzang/chongdae/global/config/JpaAuditingConfig.java similarity index 82% rename from backend/src/main/java/com/zzang/chongdae/common/config/JpaAuditingConfig.java rename to backend/src/main/java/com/zzang/chongdae/global/config/JpaAuditingConfig.java index 61e6d92e9..3e827ef6c 100644 --- a/backend/src/main/java/com/zzang/chongdae/common/config/JpaAuditingConfig.java +++ b/backend/src/main/java/com/zzang/chongdae/global/config/JpaAuditingConfig.java @@ -1,4 +1,4 @@ -package com.zzang.chongdae.common.config; +package com.zzang.chongdae.global.config; import org.springframework.context.annotation.Configuration; import org.springframework.data.jpa.repository.config.EnableJpaAuditing; diff --git a/backend/src/main/java/com/zzang/chongdae/common/config/SwaggerConfig.java b/backend/src/main/java/com/zzang/chongdae/global/config/SwaggerConfig.java similarity index 94% rename from backend/src/main/java/com/zzang/chongdae/common/config/SwaggerConfig.java rename to backend/src/main/java/com/zzang/chongdae/global/config/SwaggerConfig.java index 417253d1b..aa40b39bf 100644 --- a/backend/src/main/java/com/zzang/chongdae/common/config/SwaggerConfig.java +++ b/backend/src/main/java/com/zzang/chongdae/global/config/SwaggerConfig.java @@ -1,4 +1,4 @@ -package com.zzang.chongdae.common.config; +package com.zzang.chongdae.global.config; import io.swagger.v3.oas.models.Components; import io.swagger.v3.oas.models.OpenAPI; diff --git a/backend/src/main/java/com/zzang/chongdae/common/repository/entity/BaseTimeEntity.java b/backend/src/main/java/com/zzang/chongdae/global/repository/entity/BaseTimeEntity.java similarity index 93% rename from backend/src/main/java/com/zzang/chongdae/common/repository/entity/BaseTimeEntity.java rename to backend/src/main/java/com/zzang/chongdae/global/repository/entity/BaseTimeEntity.java index 6b61b36da..2cedce669 100644 --- a/backend/src/main/java/com/zzang/chongdae/common/repository/entity/BaseTimeEntity.java +++ b/backend/src/main/java/com/zzang/chongdae/global/repository/entity/BaseTimeEntity.java @@ -1,4 +1,4 @@ -package com.zzang.chongdae.common.repository.entity; +package com.zzang.chongdae.global.repository.entity; import jakarta.persistence.Column; import jakarta.persistence.EntityListeners; diff --git a/backend/src/main/java/com/zzang/chongdae/member/repository/entity/MemberEntity.java b/backend/src/main/java/com/zzang/chongdae/member/repository/entity/MemberEntity.java index 7653a503a..53afc4640 100644 --- a/backend/src/main/java/com/zzang/chongdae/member/repository/entity/MemberEntity.java +++ b/backend/src/main/java/com/zzang/chongdae/member/repository/entity/MemberEntity.java @@ -1,6 +1,6 @@ package com.zzang.chongdae.member.repository.entity; -import com.zzang.chongdae.common.repository.entity.BaseTimeEntity; +import com.zzang.chongdae.global.repository.entity.BaseTimeEntity; import jakarta.persistence.Column; import jakarta.persistence.Entity; import jakarta.persistence.GeneratedValue; diff --git a/backend/src/main/java/com/zzang/chongdae/offering/repository/entity/OfferingEntity.java b/backend/src/main/java/com/zzang/chongdae/offering/repository/entity/OfferingEntity.java index ddf0cede2..7622e007b 100644 --- a/backend/src/main/java/com/zzang/chongdae/offering/repository/entity/OfferingEntity.java +++ b/backend/src/main/java/com/zzang/chongdae/offering/repository/entity/OfferingEntity.java @@ -1,6 +1,6 @@ package com.zzang.chongdae.offering.repository.entity; -import com.zzang.chongdae.common.repository.entity.BaseTimeEntity; +import com.zzang.chongdae.global.repository.entity.BaseTimeEntity; import com.zzang.chongdae.member.repository.entity.MemberEntity; import com.zzang.chongdae.offering.domain.OfferingMeeting; import com.zzang.chongdae.offering.domain.OfferingPrice; diff --git a/backend/src/main/java/com/zzang/chongdae/offeringmember/repository/entity/OfferingMemberEntity.java b/backend/src/main/java/com/zzang/chongdae/offeringmember/repository/entity/OfferingMemberEntity.java index 7390d8e4c..2704a6ecd 100644 --- a/backend/src/main/java/com/zzang/chongdae/offeringmember/repository/entity/OfferingMemberEntity.java +++ b/backend/src/main/java/com/zzang/chongdae/offeringmember/repository/entity/OfferingMemberEntity.java @@ -1,6 +1,6 @@ package com.zzang.chongdae.offeringmember.repository.entity; -import com.zzang.chongdae.common.repository.entity.BaseTimeEntity; +import com.zzang.chongdae.global.repository.entity.BaseTimeEntity; import com.zzang.chongdae.member.repository.entity.MemberEntity; import com.zzang.chongdae.offering.repository.entity.OfferingEntity; import com.zzang.chongdae.offeringmember.domain.OfferingMemberRole;