Advertisement
andersonalmada

Untitled

Jul 29th, 2022
771
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.17 KB | None | 0 0
  1. @Entity
  2. public class Feedback {
  3.  
  4.     @Id
  5.     @GeneratedValue
  6.     private int id;
  7.     private String message;
  8.  
  9.     @ManyToOne
  10.     @JoinColumn(name = "product_id")
  11.     private Product product;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement