Kiln
Toggle table of contents
1.0.0-alpha04
common
Target filter
common
Switch theme
Search in API
Skip to content
Kiln
annotations
/
io.github.sufarook.kiln.annotations
Package-level
declarations
Types
Types
Column
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
=
""
)
Db
Entity
Link copied to clipboard
@
Target
(
allowedTargets
=
[
AnnotationTarget.CLASS
]
)
annotation class
DbEntity
(
val
tableName
:
String
=
""
)
Ignore
Link copied to clipboard
@
Target
(
allowedTargets
=
[
AnnotationTarget.PROPERTY
]
)
annotation class
Ignore
Primary
Key
Link copied to clipboard
@
Target
(
allowedTargets
=
[
AnnotationTarget.PROPERTY
]
)
annotation class
PrimaryKey
(
val
autoGenerate
:
Boolean
=
false
)
Relation
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
.