From ddf6fcd43c16234fd264530730d8a1c2e16356fa Mon Sep 17 00:00:00 2001 From: Robert Jaros Date: Wed, 27 May 2020 23:17:26 +0200 Subject: Additional annotations for spring data --- .../kotlin/pl/treksoft/kvision/remote/Annotations.kt | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'kvision-modules/kvision-server-spring-boot/src/commonMain') diff --git a/kvision-modules/kvision-server-spring-boot/src/commonMain/kotlin/pl/treksoft/kvision/remote/Annotations.kt b/kvision-modules/kvision-server-spring-boot/src/commonMain/kotlin/pl/treksoft/kvision/remote/Annotations.kt index 67fb1de1..d43fba0e 100644 --- a/kvision-modules/kvision-server-spring-boot/src/commonMain/kotlin/pl/treksoft/kvision/remote/Annotations.kt +++ b/kvision-modules/kvision-server-spring-boot/src/commonMain/kotlin/pl/treksoft/kvision/remote/Annotations.kt @@ -28,3 +28,15 @@ expect annotation class Id() @OptIn(ExperimentalMultiplatform::class) @OptionalExpectation expect annotation class Transient() + +@OptIn(ExperimentalMultiplatform::class) +@OptionalExpectation +expect annotation class Table(val value: String) + +@OptIn(ExperimentalMultiplatform::class) +@OptionalExpectation +expect annotation class Column(val value: String) + +@OptIn(ExperimentalMultiplatform::class) +@OptionalExpectation +expect annotation class PersistenceConstructor() -- cgit