Hideout/src/main/kotlin/dev/usbharu/hideout/query/PostQueryService.kt

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
}