From 55cd5285fdbd702f9da43b8f9ae687b1cf5eb7c6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EB=B0=95=EC=84=B8=EC=A4=80?= <74056843+sejoon00@users.noreply.github.com> Date: Mon, 12 Aug 2024 22:05:17 +0900 Subject: [PATCH] =?UTF-8?q?[fix][#40]=20CI=20open-api=20=EC=97=86=EC=9D=8C?= =?UTF-8?q?=20=EC=8B=A4=ED=8C=A8=20=EB=A1=9C=EC=A7=81=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ".github/workflows/\bCI.yml" | 2 +- src/main/java/com/server/bbo_gak/global/common/BaseEntity.java | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git "a/.github/workflows/\bCI.yml" "b/.github/workflows/\bCI.yml" index 48b73a3..e4943d7 100644 --- "a/.github/workflows/\bCI.yml" +++ "b/.github/workflows/\bCI.yml" @@ -33,6 +33,6 @@ jobs: - name: build run: | chmod +x gradlew - ./gradlew build -x test ./gradlew openapi3 + ./gradlew build -x test diff --git a/src/main/java/com/server/bbo_gak/global/common/BaseEntity.java b/src/main/java/com/server/bbo_gak/global/common/BaseEntity.java index fb7c163..7cbfabc 100644 --- a/src/main/java/com/server/bbo_gak/global/common/BaseEntity.java +++ b/src/main/java/com/server/bbo_gak/global/common/BaseEntity.java @@ -4,6 +4,7 @@ import jakarta.persistence.EntityListeners; import jakarta.persistence.MappedSuperclass; import java.time.LocalDateTime; +import lombok.Builder; import lombok.Getter; import lombok.NoArgsConstructor; import lombok.experimental.SuperBuilder; @@ -27,6 +28,7 @@ public abstract class BaseEntity { private LocalDateTime updatedDate; @Column(name = "deleted") + @Builder.Default private boolean deleted = false; }