Created
July 5, 2021 15:17
-
-
Save renaudmathieu/7e307a02230a63966278b8927a942169 to your computer and use it in GitHub Desktop.
ktor_part3_TodoModel
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Define | |
class TodoModel(uid: EntityID<UUID>): UUIDEntity(uid) { | |
companion object: UUIDEntityClass<TodoModel>(TodoTable) | |
var subject by TodoTable.subject | |
var done by TodoTable.done | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment