13 lines
260 B
Kotlin
13 lines
260 B
Kotlin
package be.vandewalleh.entities
|
|
|
|
import me.liuwj.ktorm.entity.Entity
|
|
|
|
interface Chapter : Entity<Chapter> {
|
|
companion object : Entity.Factory<Chapter>()
|
|
|
|
val id: Int
|
|
var number: Int
|
|
var title: String
|
|
var content: String
|
|
var note: Note
|
|
} |