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

removed @Repository annotations

parent 5e5563d9
No related branches found
No related tags found
No related merge requests found
......@@ -5,7 +5,6 @@ import ntnu.idatt2016.v233.SmartMat.entity.Allergy;
import java.util.List;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;
/**
* Repository for allergies
......@@ -14,7 +13,6 @@ import org.springframework.stereotype.Repository;
* @version 1.0
* @since 04.04.2023
*/
@Repository
public interface AllergyRepository extends JpaRepository<Allergy, String> {
/**
......
......@@ -5,7 +5,6 @@ import ntnu.idatt2016.v233.SmartMat.entity.product.Product;
import java.util.Optional;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;
/**
* Repository for Products
......@@ -13,7 +12,6 @@ import org.springframework.stereotype.Repository;
* @version 1.0
* @since 19.04.2023
*/
@Repository
public interface ProductRepository extends JpaRepository<Product, Long> {
/**
......
......@@ -4,7 +4,6 @@ import java.util.Optional;
import ntnu.idatt2016.v233.SmartMat.entity.Recipe;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;
/**
* This interface defines the methods for the recipe repository
......@@ -12,7 +11,6 @@ import org.springframework.stereotype.Repository;
* @author Stian Lyng
* @version 1.0
*/
@Repository
public interface RecipeRepository extends JpaRepository<Recipe, Long> {
/**
......
......@@ -5,7 +5,6 @@ import java.util.Optional;
import ntnu.idatt2016.v233.SmartMat.entity.ShoppingList;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;
/**
* This interface defines the methods for the shopping list repository
......@@ -14,7 +13,6 @@ import org.springframework.stereotype.Repository;
* @version 1.1
*
*/
@Repository
public interface ShoppingListRepository extends JpaRepository<ShoppingList, Long> {
/**
......
package ntnu.idatt2016.v233.SmartMat.repository;
public class temp {
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment