Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @Entity
- public class Product {
- @Id
- @GeneratedValue
- private int id;
- private String name;
- private double price;
- @OneToMany(mappedBy = "product")
- private List<Feedback> feedbacks;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement