mirror of
https://github.com/CUBETIQ/hexagonal-architect-spring-boot
synced 2024-05-20 10:21:36 +07:00
12 lines
324 B
Kotlin
12 lines
324 B
Kotlin
|
package com.cubetiqs.hexagonal.domain.article.model
|
||
|
|
||
|
open class Article (
|
||
|
var id: Long? = null,
|
||
|
var accountId: Long? = null,
|
||
|
var title: String? = null,
|
||
|
var body: String? = null,
|
||
|
) {
|
||
|
override fun toString(): String {
|
||
|
return "Article(id=$id, accountId=$accountId, title=$title, body=$body)"
|
||
|
}
|
||
|
}
|