mirror of
https://github.com/CUBETIQ/hexagonal-architect-spring-boot
synced 2024-05-20 10:21:36 +07:00
15 lines
339 B
Kotlin
15 lines
339 B
Kotlin
|
package com.cubetiqs.hexagonal.domain.article.usecase
|
||
|
|
||
|
open class ArticleQuery(
|
||
|
var accountId: Long,
|
||
|
) {
|
||
|
companion object {
|
||
|
fun from(accountId: Long): ArticleQuery {
|
||
|
return ArticleQuery(accountId)
|
||
|
}
|
||
|
}
|
||
|
|
||
|
override fun toString(): String {
|
||
|
return "ArticleQuery(accountId=$accountId)"
|
||
|
}
|
||
|
}
|