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