Skip to content
Snippets Groups Projects
Commit 53f2d056 authored by Victor Ekholt Gunrell Kaste's avatar Victor Ekholt Gunrell Kaste
Browse files

feat: created GroupRepository

parent 46e4eaba
No related branches found
No related tags found
1 merge request!95Feat/group saving
package no.ntnu.idi.stud.savingsapp.repository;
import no.ntnu.idi.stud.savingsapp.model.goal.Goal;
import no.ntnu.idi.stud.savingsapp.model.goal.Group;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;
import java.util.Optional;
@Repository
public interface GroupRepository extends JpaRepository<Group, Long> {
Optional<Group> findBygGoals_Id(long id);
}
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