Skip to content
Snippets Groups Projects
Commit 8d8051a8 authored by Stian Lyng's avatar Stian Lyng
Browse files

added image and gui entity

parent f41dc970
No related branches found
No related tags found
No related merge requests found
......@@ -40,6 +40,12 @@ public class Recipe {
@Column(name = "recipe_description")
String description;
@Column(name = "image_url")
String imageUrl;
@Column(name = "guide")
String guide;
@ManyToMany(fetch = FetchType.LAZY,
cascade = {CascadeType.MERGE, CascadeType.PERSIST, CascadeType.REFRESH}
,mappedBy = "recipes"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment