From 9fe71f31776ed6adf7ac0cbc7ed4700716324b3e Mon Sep 17 00:00:00 2001 From: Doeun Date: Thu, 22 Aug 2024 20:13:24 +0900 Subject: [PATCH] =?UTF-8?q?refactor:=20=EC=83=9D=EC=84=B1=EC=9E=90=20?= =?UTF-8?q?=EC=97=91=EC=84=B8=EC=8A=A4=EB=A0=88=EB=B2=A8=20=EC=84=A4?= =?UTF-8?q?=EC=A0=95=20=EC=9D=BC=EA=B4=84=20=EC=A0=81=EC=9A=A9=20(#5)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../module/auth/entity/VerificationCode.java | 4 ++-- .../integrated_feed_backend/module/post/entity/Hashtag.java | 4 ++-- .../module/post/entity/PostHashtag.java | 4 ++-- .../integrated_feed_backend/module/user/entity/User.java | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/main/java/team05/integrated_feed_backend/module/auth/entity/VerificationCode.java b/src/main/java/team05/integrated_feed_backend/module/auth/entity/VerificationCode.java index 9955154..af8c61f 100644 --- a/src/main/java/team05/integrated_feed_backend/module/auth/entity/VerificationCode.java +++ b/src/main/java/team05/integrated_feed_backend/module/auth/entity/VerificationCode.java @@ -9,8 +9,8 @@ @Entity @Getter -@NoArgsConstructor -@AllArgsConstructor +@NoArgsConstructor(access = AccessLevel.PROTECTED) +@AllArgsConstructor(access = AccessLevel.PRIVATE) @Builder public class VerificationCode extends BaseEntity { @Id diff --git a/src/main/java/team05/integrated_feed_backend/module/post/entity/Hashtag.java b/src/main/java/team05/integrated_feed_backend/module/post/entity/Hashtag.java index b65f316..90056b8 100644 --- a/src/main/java/team05/integrated_feed_backend/module/post/entity/Hashtag.java +++ b/src/main/java/team05/integrated_feed_backend/module/post/entity/Hashtag.java @@ -9,8 +9,8 @@ @Entity @Getter -@NoArgsConstructor -@AllArgsConstructor +@NoArgsConstructor(access = AccessLevel.PROTECTED) +@AllArgsConstructor(access = AccessLevel.PRIVATE) @Builder public class Hashtag extends BaseEntity { @Id diff --git a/src/main/java/team05/integrated_feed_backend/module/post/entity/PostHashtag.java b/src/main/java/team05/integrated_feed_backend/module/post/entity/PostHashtag.java index 78e45b4..3ecf625 100644 --- a/src/main/java/team05/integrated_feed_backend/module/post/entity/PostHashtag.java +++ b/src/main/java/team05/integrated_feed_backend/module/post/entity/PostHashtag.java @@ -5,8 +5,8 @@ @Entity @Getter -@NoArgsConstructor -@AllArgsConstructor +@NoArgsConstructor(access = AccessLevel.PROTECTED) +@AllArgsConstructor(access = AccessLevel.PRIVATE) @Builder public class PostHashtag extends BaseEntity { @Id diff --git a/src/main/java/team05/integrated_feed_backend/module/user/entity/User.java b/src/main/java/team05/integrated_feed_backend/module/user/entity/User.java index 1745c37..52854a1 100644 --- a/src/main/java/team05/integrated_feed_backend/module/user/entity/User.java +++ b/src/main/java/team05/integrated_feed_backend/module/user/entity/User.java @@ -7,8 +7,8 @@ @Entity @Table(name = "member") @Getter -@NoArgsConstructor -@AllArgsConstructor +@NoArgsConstructor(access = AccessLevel.PROTECTED) +@AllArgsConstructor(access = AccessLevel.PRIVATE) @Builder public class User extends BaseEntity { @Id