fix KtormTableName target bug

This commit is contained in:
tursom 2022-04-05 21:04:56 +08:00
parent b8b63acb48
commit 086079fa8d
2 changed files with 3 additions and 3 deletions

View File

@ -1,7 +1,7 @@
package cn.tursom.database.ktorm.annotations
@MustBeDocumented
@kotlin.annotation.Retention(AnnotationRetention.RUNTIME)
@Retention(AnnotationRetention.RUNTIME)
@Target(AnnotationTarget.FIELD, AnnotationTarget.ANNOTATION_CLASS)
annotation class KtormTableField(
val name: String = "",

View File

@ -1,8 +1,8 @@
package cn.tursom.database.ktorm.annotations
@MustBeDocumented
@kotlin.annotation.Retention(AnnotationRetention.RUNTIME)
@Target(AnnotationTarget.FIELD, AnnotationTarget.ANNOTATION_CLASS)
@Retention(AnnotationRetention.RUNTIME)
@Target(AnnotationTarget.CLASS)
annotation class KtormTableName(
val name: String = "",
)