Skip to content

Commit

Permalink
Add @table annotation with table name
Browse files Browse the repository at this point in the history
  • Loading branch information
wichapons committed Mar 31, 2024
1 parent 1cd28f0 commit b2edf30
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion kbazaar/src/main/java/com/kampus/kbazaar/cart/Cart.java
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@
@Data
@NoArgsConstructor
@AllArgsConstructor
@Entity(name = "cart")
@Entity
@Table(name = "cart")
public class Cart {
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
Expand Down

0 comments on commit b2edf30

Please sign in to comment.