Package-level declarations

Types

Link copied to clipboard
@Target(allowedTargets = [AnnotationTarget.PROPERTY])
annotation class Column(val name: String = "", val unique: Boolean = false, val index: Boolean = false, val migrateFrom: String = "")
Link copied to clipboard
@Target(allowedTargets = [AnnotationTarget.CLASS])
annotation class DbEntity(val tableName: String = "")
Link copied to clipboard
@Target(allowedTargets = [AnnotationTarget.PROPERTY])
annotation class Ignore
Link copied to clipboard
@Target(allowedTargets = [AnnotationTarget.PROPERTY])
annotation class PrimaryKey(val autoGenerate: Boolean = false)
Link copied to clipboard
@Target(allowedTargets = [AnnotationTarget.PROPERTY])
annotation class Relation(val cascade: Boolean = false)

Marks a FK property as a relationship to another @DbEntity.