From bd6077ab75237ff2f25f2a30815e2e606f760d8e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EB=8F=84=EA=B2=BD?= Date: Wed, 13 Nov 2024 21:33:17 +0900 Subject: [PATCH] aop --- .../kotlin/dsm/pick2024/global/annotation/ValidFormat.kt | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/main/kotlin/dsm/pick2024/global/annotation/ValidFormat.kt b/src/main/kotlin/dsm/pick2024/global/annotation/ValidFormat.kt index 377fd5e6..4f1d7476 100644 --- a/src/main/kotlin/dsm/pick2024/global/annotation/ValidFormat.kt +++ b/src/main/kotlin/dsm/pick2024/global/annotation/ValidFormat.kt @@ -8,8 +8,4 @@ import kotlin.reflect.KClass @Constraint(validatedBy = [FormatValidator::class]) @Target(AnnotationTarget.CLASS) @Retention(AnnotationRetention.RUNTIME) -annotation class ValidFormat( - val message: String = "형식이 올바르지 않습니다.", - val groups: Array> = [], // 어떤 타입의 데이터든 포함할 수 있다 - val payload: Array> = [] //Payload 타입을 상속받는 어떤 클래스든 수용할 수 있음을 의미 -) +annotation class ValidFormat()