missing entity in TeamMedia and TeamMediaJpaReposytory creted

master
dizda13 2017-03-24 00:38:58 +01:00
parent f46c6eb937
commit d51b6f7d65
2 changed files with 6 additions and 1 deletions

View File

@ -1,7 +1,11 @@
package ba.steleks.repository; package ba.steleks.repository;
import ba.steleks.repository.module.TeamMedia;
import org.springframework.data.repository.PagingAndSortingRepository;
/** /**
* Created by admin on 24/03/2017. * Created by admin on 24/03/2017.
*/ */
public class TeamsMediaJpaRepository { public interface TeamsMediaJpaRepository extends PagingAndSortingRepository<TeamMedia, Long> {
} }

View File

@ -6,6 +6,7 @@ import java.util.Set;
/** /**
* Created by admin on 23/03/2017. * Created by admin on 23/03/2017.
*/ */
@Entity
public class TeamMedia { public class TeamMedia {
@Id @Id
@GeneratedValue(strategy = GenerationType.AUTO) @GeneratedValue(strategy = GenerationType.AUTO)