diff --git a/main/src/main/java/org/sopt/makers/crew/main/entity/apply/Apply.java b/main/src/main/java/org/sopt/makers/crew/main/entity/apply/Apply.java index 5a5aa9a3..eb0704de 100644 --- a/main/src/main/java/org/sopt/makers/crew/main/entity/apply/Apply.java +++ b/main/src/main/java/org/sopt/makers/crew/main/entity/apply/Apply.java @@ -12,8 +12,6 @@ import jakarta.persistence.JoinColumn; import jakarta.persistence.ManyToOne; import jakarta.persistence.Table; -import jakarta.persistence.Temporal; -import jakarta.persistence.TemporalType; import java.time.LocalDateTime; import lombok.AccessLevel; import lombok.Builder; diff --git a/main/src/main/java/org/sopt/makers/crew/main/entity/comment/Comment.java b/main/src/main/java/org/sopt/makers/crew/main/entity/comment/Comment.java index 7dbc8959..03cc2067 100644 --- a/main/src/main/java/org/sopt/makers/crew/main/entity/comment/Comment.java +++ b/main/src/main/java/org/sopt/makers/crew/main/entity/comment/Comment.java @@ -12,16 +12,16 @@ import jakarta.persistence.ManyToOne; import jakarta.persistence.OneToMany; import jakarta.persistence.Table; - -import jakarta.persistence.Temporal; -import jakarta.persistence.TemporalType; import java.time.LocalDateTime; import java.util.ArrayList; -import lombok.*; import java.util.List; +import lombok.AccessLevel; +import lombok.Builder; +import lombok.Getter; +import lombok.NoArgsConstructor; import org.sopt.makers.crew.main.entity.like.Like; -import org.sopt.makers.crew.main.entity.report.Report; import org.sopt.makers.crew.main.entity.post.Post; +import org.sopt.makers.crew.main.entity.report.Report; import org.sopt.makers.crew.main.entity.user.User; import org.springframework.data.annotation.CreatedDate; import org.springframework.data.annotation.LastModifiedDate; @@ -138,8 +138,8 @@ public class Comment { @Builder public Comment(String contents, int depth, int order, - User user, int userId, Post post, int postId, int likeCount, Comment parent, - int parentId, List children, List reports) { + User user, int userId, Post post, int postId, int likeCount, Comment parent, + int parentId, List children, List reports) { this.contents = contents; this.depth = depth; this.order = order; diff --git a/main/src/main/java/org/sopt/makers/crew/main/entity/like/Like.java b/main/src/main/java/org/sopt/makers/crew/main/entity/like/Like.java index 8246428a..984065b6 100644 --- a/main/src/main/java/org/sopt/makers/crew/main/entity/like/Like.java +++ b/main/src/main/java/org/sopt/makers/crew/main/entity/like/Like.java @@ -10,8 +10,6 @@ import jakarta.persistence.JoinColumn; import jakarta.persistence.ManyToOne; import jakarta.persistence.Table; -import jakarta.persistence.Temporal; -import jakarta.persistence.TemporalType; import java.time.LocalDateTime; import lombok.AccessLevel; import lombok.Builder; diff --git a/main/src/main/java/org/sopt/makers/crew/main/entity/notice/Notice.java b/main/src/main/java/org/sopt/makers/crew/main/entity/notice/Notice.java index bf9368d1..a3824a0d 100644 --- a/main/src/main/java/org/sopt/makers/crew/main/entity/notice/Notice.java +++ b/main/src/main/java/org/sopt/makers/crew/main/entity/notice/Notice.java @@ -7,12 +7,12 @@ import jakarta.persistence.GenerationType; import jakarta.persistence.Id; import jakarta.persistence.Table; -import jakarta.persistence.Temporal; -import jakarta.persistence.TemporalType; import java.time.LocalDateTime; -import lombok.*; +import lombok.AccessLevel; +import lombok.Builder; +import lombok.Getter; +import lombok.NoArgsConstructor; import org.springframework.data.annotation.CreatedDate; - import org.springframework.data.jpa.domain.support.AuditingEntityListener; @Entity