First commit
This commit is contained in:
12
src/main/kotlin/dao/LanguageDao.kt
Normal file
12
src/main/kotlin/dao/LanguageDao.kt
Normal file
@@ -0,0 +1,12 @@
|
||||
package dao
|
||||
|
||||
import org.jetbrains.exposed.dao.*
|
||||
import org.jetbrains.exposed.dao.id.EntityID
|
||||
import tables.Languages
|
||||
|
||||
class LanguageDao(id: EntityID<Int>) : IntEntity(id) {
|
||||
companion object : IntEntityClass<LanguageDao>(Languages)
|
||||
|
||||
var name by Languages.name
|
||||
var shortName by Languages.shortName
|
||||
}
|
||||
Reference in New Issue
Block a user