generated from pricelees/issue-pr-template
refactor: 어노테이션 코틀린 전환
This commit is contained in:
parent
c4af933ee5
commit
1a0ec9d428
@ -1,11 +1,5 @@
|
||||
package roomescape.system.auth.web.support;
|
||||
package roomescape.system.auth.web.support
|
||||
|
||||
import java.lang.annotation.ElementType;
|
||||
import java.lang.annotation.Retention;
|
||||
import java.lang.annotation.RetentionPolicy;
|
||||
import java.lang.annotation.Target;
|
||||
|
||||
@Target(ElementType.METHOD)
|
||||
@Retention(RetentionPolicy.RUNTIME)
|
||||
public @interface Admin {
|
||||
}
|
||||
@Target(AnnotationTarget.FUNCTION)
|
||||
@Retention(AnnotationRetention.RUNTIME)
|
||||
annotation class Admin
|
||||
|
||||
@ -1,11 +1,5 @@
|
||||
package roomescape.system.auth.web.support;
|
||||
package roomescape.system.auth.web.support
|
||||
|
||||
import java.lang.annotation.ElementType;
|
||||
import java.lang.annotation.Retention;
|
||||
import java.lang.annotation.RetentionPolicy;
|
||||
import java.lang.annotation.Target;
|
||||
|
||||
@Target(ElementType.METHOD)
|
||||
@Retention(RetentionPolicy.RUNTIME)
|
||||
public @interface LoginRequired {
|
||||
}
|
||||
@Target(AnnotationTarget.FUNCTION)
|
||||
@Retention(AnnotationRetention.RUNTIME)
|
||||
annotation class LoginRequired
|
||||
|
||||
@ -1,11 +1,5 @@
|
||||
package roomescape.system.auth.web.support;
|
||||
package roomescape.system.auth.web.support
|
||||
|
||||
import java.lang.annotation.ElementType;
|
||||
import java.lang.annotation.Retention;
|
||||
import java.lang.annotation.RetentionPolicy;
|
||||
import java.lang.annotation.Target;
|
||||
|
||||
@Target(ElementType.PARAMETER)
|
||||
@Retention(RetentionPolicy.RUNTIME)
|
||||
public @interface MemberId {
|
||||
}
|
||||
@Target(AnnotationTarget.VALUE_PARAMETER)
|
||||
@Retention(AnnotationRetention.RUNTIME)
|
||||
annotation class MemberId
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user