Skip to content

Commit

Permalink
#1 fix: String을 Enum 타입으로 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
JoongHyun-Kim committed Jan 23, 2024
1 parent 83ca651 commit d953453
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.kkobugi.puremarket.common.config;
package com.kkobugi.puremarket.common.configuration;

import io.swagger.v3.oas.annotations.OpenAPIDefinition;
import io.swagger.v3.oas.annotations.info.Info;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package com.kkobugi.puremarket.ingredient.domain.entity;

import com.kkobugi.puremarket.common.BaseEntity;
import com.kkobugi.puremarket.common.enums.IngredientType;
import com.kkobugi.puremarket.recipe.domain.entity.Recipe;
import jakarta.persistence.*;
import lombok.Getter;
Expand Down Expand Up @@ -28,5 +29,5 @@ public class Ingredient extends BaseEntity {

@Enumerated(EnumType.STRING)
@Column(nullable = false)
private String ingredientType;
private IngredientType ingredientType;
}

0 comments on commit d953453

Please sign in to comment.