diff --git a/src/main/java/dev/steady/notification/domain/Notification.java b/src/main/java/dev/steady/notification/domain/Notification.java index 536dc7e..324d2f9 100644 --- a/src/main/java/dev/steady/notification/domain/Notification.java +++ b/src/main/java/dev/steady/notification/domain/Notification.java @@ -2,15 +2,7 @@ import dev.steady.global.entity.BaseEntity; import dev.steady.user.domain.User; -import jakarta.persistence.Column; -import jakarta.persistence.Entity; -import jakarta.persistence.FetchType; -import jakarta.persistence.GeneratedValue; -import jakarta.persistence.GenerationType; -import jakarta.persistence.Id; -import jakarta.persistence.JoinColumn; -import jakarta.persistence.ManyToOne; -import jakarta.persistence.Table; +import jakarta.persistence.*; import lombok.AccessLevel; import lombok.Builder; import lombok.Getter; @@ -27,6 +19,7 @@ public class Notification extends BaseEntity { private Long id; @Column(nullable = false) + @Enumerated(EnumType.STRING) private NotificationType type; @Column(nullable = false)