Added base repositories

This commit is contained in:
neviyn 2021-04-29 00:28:36 +01:00
parent 25342e97f1
commit 285cd5c75f

View File

@ -0,0 +1,11 @@
package uk.co.neviyn.booru
import org.springframework.data.repository.CrudRepository
interface UserRepository : CrudRepository<User, Long>
interface RoleRepository : CrudRepository<Role, Long>
interface ImageRepository : CrudRepository<Image, Long>
interface TagRepository : CrudRepository<Tag, Long>