From 44c188f3bf7caabff2828c7e963de296820ba350 Mon Sep 17 00:00:00 2001 From: gol2580 Date: Sat, 20 Jan 2024 13:13:31 +0900 Subject: [PATCH] [CI] update code-deploy.yml --- .github/workflows/code-deploy.yml | 2 +- .../kimgreen/backend/domain/notification/entity/FCMToken.java | 4 ++++ .../backend/domain/notification/entity/Notification.java | 4 ++++ 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/code-deploy.yml b/.github/workflows/code-deploy.yml index eaf954c..938078b 100644 --- a/.github/workflows/code-deploy.yml +++ b/.github/workflows/code-deploy.yml @@ -9,7 +9,7 @@ name: Java CI with Gradle on: push: - branches: [ "master" ] + branches: [ "master", "feat-codeDeploy" ] pull_request: branches: [ "master" ] diff --git a/src/main/java/com/kimgreen/backend/domain/notification/entity/FCMToken.java b/src/main/java/com/kimgreen/backend/domain/notification/entity/FCMToken.java index d72d020..a9c509e 100644 --- a/src/main/java/com/kimgreen/backend/domain/notification/entity/FCMToken.java +++ b/src/main/java/com/kimgreen/backend/domain/notification/entity/FCMToken.java @@ -2,12 +2,16 @@ import com.kimgreen.backend.domain.AuditEntity; import jakarta.persistence.*; +import lombok.AllArgsConstructor; import lombok.Builder; import lombok.Getter; +import lombok.NoArgsConstructor; @Entity @Builder @Getter +@NoArgsConstructor +@AllArgsConstructor public class FCMToken extends AuditEntity { @Id @GeneratedValue(strategy = GenerationType.IDENTITY) diff --git a/src/main/java/com/kimgreen/backend/domain/notification/entity/Notification.java b/src/main/java/com/kimgreen/backend/domain/notification/entity/Notification.java index f79c9f7..a800871 100644 --- a/src/main/java/com/kimgreen/backend/domain/notification/entity/Notification.java +++ b/src/main/java/com/kimgreen/backend/domain/notification/entity/Notification.java @@ -4,12 +4,16 @@ import com.kimgreen.backend.domain.community.entity.Comment; import com.kimgreen.backend.domain.member.entity.Member; import jakarta.persistence.*; +import lombok.AllArgsConstructor; import lombok.Builder; import lombok.Getter; +import lombok.NoArgsConstructor; @Entity @Builder @Getter +@NoArgsConstructor +@AllArgsConstructor public class Notification extends AuditEntity { @Id @GeneratedValue(strategy = GenerationType.IDENTITY)