Skip to content
Snippets Groups Projects
Commit f62a55a8 authored by Joshua Gill's avatar Joshua Gill
Browse files

Field added to "Shops" for storing the category

parent b86097fe
No related branches found
No related tags found
3 merge requests!56tags will be saved to userFavTags table (needs user ID of current logged in user),!50Merging for latest changes,!46Develop
package com.example.clientproject.data.shops; package com.example.clientproject.data.shops;
import com.example.clientproject.data.categories.Categories;
import com.example.clientproject.data.converters.TinyIntToBoolean; import com.example.clientproject.data.converters.TinyIntToBoolean;
import com.example.clientproject.data.rewards.Rewards; import com.example.clientproject.data.rewards.Rewards;
import com.example.clientproject.data.stampBoards.StampBoards; import com.example.clientproject.data.stampBoards.StampBoards;
...@@ -69,4 +70,8 @@ public class Shops { ...@@ -69,4 +70,8 @@ public class Shops {
@OneToOne @OneToOne
@JoinColumn(name="Stamp_Board_Id") @JoinColumn(name="Stamp_Board_Id")
private StampBoards stampBoard; private StampBoards stampBoard;
@ManyToOne
@JoinColumn(name="Category_Id")
private Categories category;
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment