From d51b6f7d65cfefbf4a7c9e0a9e6d6ba174c78a39 Mon Sep 17 00:00:00 2001 From: dizda13 Date: Fri, 24 Mar 2017 00:38:58 +0100 Subject: [PATCH] missing entity in TeamMedia and TeamMediaJpaReposytory creted --- .../java/ba/steleks/repository/TeamsMediaJpaRepository.java | 6 +++++- .../main/java/ba/steleks/repository/module/TeamMedia.java | 1 + 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/teams/src/main/java/ba/steleks/repository/TeamsMediaJpaRepository.java b/teams/src/main/java/ba/steleks/repository/TeamsMediaJpaRepository.java index e47431d..4ae9832 100644 --- a/teams/src/main/java/ba/steleks/repository/TeamsMediaJpaRepository.java +++ b/teams/src/main/java/ba/steleks/repository/TeamsMediaJpaRepository.java @@ -1,7 +1,11 @@ package ba.steleks.repository; +import ba.steleks.repository.module.TeamMedia; +import org.springframework.data.repository.PagingAndSortingRepository; + + /** * Created by admin on 24/03/2017. */ -public class TeamsMediaJpaRepository { +public interface TeamsMediaJpaRepository extends PagingAndSortingRepository { } diff --git a/teams/src/main/java/ba/steleks/repository/module/TeamMedia.java b/teams/src/main/java/ba/steleks/repository/module/TeamMedia.java index ddd3608..176e0a6 100644 --- a/teams/src/main/java/ba/steleks/repository/module/TeamMedia.java +++ b/teams/src/main/java/ba/steleks/repository/module/TeamMedia.java @@ -6,6 +6,7 @@ import java.util.Set; /** * Created by admin on 23/03/2017. */ +@Entity public class TeamMedia { @Id @GeneratedValue(strategy = GenerationType.AUTO)