mirror of https://github.com/usbharu/Hideout.git
12 lines
323 B
Kotlin
12 lines
323 B
Kotlin
package dev.usbharu.hideout.query
|
|
|
|
import dev.usbharu.hideout.domain.model.hideout.entity.Post
|
|
import org.springframework.stereotype.Repository
|
|
|
|
@Repository
|
|
interface PostQueryService {
|
|
suspend fun findById(id: Long): Post
|
|
suspend fun findByUrl(url: String): Post
|
|
suspend fun findByApId(string: String): Post
|
|
}
|