Files
input-service/src/database/model/InputObject.kt
Torma Kristóf 34621b432c
All checks were successful
continuous-integration/drone/push Build is passing
refactor to input service skeleton
2020-05-20 22:49:48 +02:00

13 lines
446 B
Kotlin

package com.kmalbz.database.model
import com.kmalbz.database.dao.InputObjects
import org.jetbrains.exposed.dao.IntEntity
import org.jetbrains.exposed.dao.IntEntityClass
import org.jetbrains.exposed.dao.id.EntityID
class InputObject(id: EntityID<Int>): IntEntity(id) {
companion object : IntEntityClass<InputObject>(InputObjects)
var tag by InputObjects.tag
var date by InputObjects.date
var device_id by InputObjects.device_id
}