Skip to content

Commit

Permalink
hotfix: 카테고리 엔티티 제거
Browse files Browse the repository at this point in the history
  • Loading branch information
kdkdhoho committed Feb 7, 2024
1 parent a9632a6 commit 103ae24
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 30 deletions.
28 changes: 0 additions & 28 deletions src/main/java/com/listywave/list/application/domain/Category.java

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@ public class CategoryTypeConverter implements AttributeConverter<CategoryType, S

@Override
public String convertToDatabaseColumn(CategoryType attribute) {
if(attribute == null){
if (attribute == null) {
return null;
}
return attribute.getCodeValue();
}

@Override
public CategoryType convertToEntityAttribute(String dbData) {
if(dbData == null){
if (dbData == null) {
return null;
}
return CategoryType.enumOf(dbData);
Expand Down

0 comments on commit 103ae24

Please sign in to comment.