Added base repositories
This commit is contained in:
parent
25342e97f1
commit
285cd5c75f
11
src/main/kotlin/uk/co/neviyn/booru/Repository.kt
Normal file
11
src/main/kotlin/uk/co/neviyn/booru/Repository.kt
Normal 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>
|
Loading…
Reference in New Issue
Block a user