Skip to content

Commit

Permalink
aop
Browse files Browse the repository at this point in the history
  • Loading branch information
rudeh2926 committed Nov 13, 2024
1 parent 91e6251 commit bd6077a
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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<KClass<*>> = [], // 어떤 타입의 데이터든 포함할 수 있다
val payload: Array<KClass<out Payload>> = [] //Payload 타입을 상속받는 어떤 클래스든 수용할 수 있음을 의미
)
annotation class ValidFormat()

0 comments on commit bd6077a

Please sign in to comment.