From 103ae24f582d58366ffaadd88501972271eb116f Mon Sep 17 00:00:00 2001 From: kdkdhoho Date: Thu, 8 Feb 2024 00:37:49 +0900 Subject: [PATCH] =?UTF-8?q?=20hotfix:=20=EC=B9=B4=ED=85=8C=EA=B3=A0?= =?UTF-8?q?=EB=A6=AC=20=EC=97=94=ED=8B=B0=ED=8B=B0=20=EC=A0=9C=EA=B1=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../list/application/domain/Category.java | 28 ------------------- .../domain/CategoryTypeConverter.java | 4 +-- 2 files changed, 2 insertions(+), 30 deletions(-) delete mode 100644 src/main/java/com/listywave/list/application/domain/Category.java diff --git a/src/main/java/com/listywave/list/application/domain/Category.java b/src/main/java/com/listywave/list/application/domain/Category.java deleted file mode 100644 index c7dcb70d..00000000 --- a/src/main/java/com/listywave/list/application/domain/Category.java +++ /dev/null @@ -1,28 +0,0 @@ -package com.listywave.list.application.domain; - -import jakarta.persistence.Column; -import jakarta.persistence.Entity; -import jakarta.persistence.EnumType; -import jakarta.persistence.Enumerated; -import jakarta.persistence.GeneratedValue; -import jakarta.persistence.GenerationType; -import jakarta.persistence.Id; -import lombok.AccessLevel; -import lombok.AllArgsConstructor; -import lombok.Getter; -import lombok.NoArgsConstructor; - -@Getter -@Entity -@AllArgsConstructor -@NoArgsConstructor(access = AccessLevel.PROTECTED) -public class Category { - - @Id - @GeneratedValue(strategy = GenerationType.IDENTITY) - private Long id; - - @Column(name = "name") - @Enumerated(EnumType.STRING) - private CategoryType categoryType; -} diff --git a/src/main/java/com/listywave/list/application/domain/CategoryTypeConverter.java b/src/main/java/com/listywave/list/application/domain/CategoryTypeConverter.java index 66da1258..7e35b66f 100644 --- a/src/main/java/com/listywave/list/application/domain/CategoryTypeConverter.java +++ b/src/main/java/com/listywave/list/application/domain/CategoryTypeConverter.java @@ -6,7 +6,7 @@ public class CategoryTypeConverter implements AttributeConverter