diff --git a/src/main/java/com/tteokguk/tteokguk/member/domain/Inventory.java b/src/main/java/com/tteokguk/tteokguk/member/domain/Inventory.java index 657c71e..4eda7da 100644 --- a/src/main/java/com/tteokguk/tteokguk/member/domain/Inventory.java +++ b/src/main/java/com/tteokguk/tteokguk/member/domain/Inventory.java @@ -33,7 +33,7 @@ public class Inventory { @Column(name = "ingredient") private Ingredient ingredient; - @Column(name = "stockQuantity") + @Column(name = "stock_quantity") private int stockQuantity; @JoinColumn(name = "member_id") diff --git a/src/main/java/com/tteokguk/tteokguk/tteokguk/constants/Ingredient.java b/src/main/java/com/tteokguk/tteokguk/tteokguk/constants/Ingredient.java index 0df9856..9b3585f 100644 --- a/src/main/java/com/tteokguk/tteokguk/tteokguk/constants/Ingredient.java +++ b/src/main/java/com/tteokguk/tteokguk/tteokguk/constants/Ingredient.java @@ -1,8 +1,8 @@ package com.tteokguk.tteokguk.tteokguk.constants; -import lombok.AllArgsConstructor; +import lombok.RequiredArgsConstructor; -@AllArgsConstructor +@RequiredArgsConstructor public enum Ingredient { RICE_CAKE("떡"), GREEN_ONION("파"),