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)