Skip to content

Commit

Permalink
chore: 어노테이션 수정 및 컬럼 스네이크 케이스 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
h-beeen committed Jan 17, 2024
1 parent 049edbd commit 3535ce6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down
Original file line number Diff line number Diff line change
@@ -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("파"),
Expand Down

0 comments on commit 3535ce6

Please sign in to comment.