output-service-rdb-consumer/src/main/kotlin/database/model/ResultObject.kt

13 lines
435 B
Kotlin
Raw Normal View History

2021-08-12 15:59:28 +02:00
package database.model
import database.dao.ResultObjects
import org.jetbrains.exposed.dao.IntEntity
import org.jetbrains.exposed.dao.IntEntityClass
import org.jetbrains.exposed.dao.id.EntityID
class ResultObject(id: EntityID<Int>): IntEntity(id) {
companion object : IntEntityClass<ResultObject>(ResultObjects)
var tag by ResultObjects.tag
var date by ResultObjects.date
var probability by ResultObjects.probability
}