Add article jpa adapter

This commit is contained in:
Sambo Chea 2021-10-23 08:50:47 +07:00
parent 417672b234
commit 01a3be5616
Signed by: sombochea
GPG Key ID: 3C7CF22A05D95490

View File

@ -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()
}
}