mirror of
https://github.com/CUBETIQ/hexagonal-architect-spring-boot
synced 2024-11-28 01:34:27 +07:00
Add article jpa adapter
This commit is contained in:
parent
417672b234
commit
01a3be5616
@ -0,0 +1,20 @@
|
|||||||
|
package com.cubetiqs.hexagonal.infrastructure.adapter.persistence
|
||||||
|
|
||||||
|
import com.cubetiqs.hexagonal.domain.article.model.Article
|
||||||
|
import com.cubetiqs.hexagonal.domain.article.port.ArticlePort
|
||||||
|
import com.cubetiqs.hexagonal.domain.article.usecase.ArticleCreate
|
||||||
|
import com.cubetiqs.hexagonal.domain.article.usecase.ArticleQuery
|
||||||
|
|
||||||
|
class ArticleJpaDataAdapter : ArticlePort {
|
||||||
|
override fun create(article: ArticleCreate): Article {
|
||||||
|
TODO("Not yet implemented")
|
||||||
|
}
|
||||||
|
|
||||||
|
override fun retrieve(id: Long): Article {
|
||||||
|
TODO("Not yet implemented")
|
||||||
|
}
|
||||||
|
|
||||||
|
override fun query(query: ArticleQuery): Collection<Article> {
|
||||||
|
return emptyList()
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user