mirror of
https://github.com/CUBETIQ/hexagonal-architect-spring-boot
synced 2024-05-09 21:11:38 +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)"
|
|
}
|
|
} |