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;
|
@Target(AnnotationTarget.FUNCTION)
|
||||||
import java.lang.annotation.Retention;
|
@Retention(AnnotationRetention.RUNTIME)
|
||||||
import java.lang.annotation.RetentionPolicy;
|
annotation class Admin
|
||||||
import java.lang.annotation.Target;
|
|
||||||
|
|
||||||
@Target(ElementType.METHOD)
|
|
||||||
@Retention(RetentionPolicy.RUNTIME)
|
|
||||||
public @interface Admin {
|
|
||||||
}
|
|
||||||
|
|||||||
@ -1,11 +1,5 @@
|
|||||||
package roomescape.system.auth.web.support;
|
package roomescape.system.auth.web.support
|
||||||
|
|
||||||
import java.lang.annotation.ElementType;
|
@Target(AnnotationTarget.FUNCTION)
|
||||||
import java.lang.annotation.Retention;
|
@Retention(AnnotationRetention.RUNTIME)
|
||||||
import java.lang.annotation.RetentionPolicy;
|
annotation class LoginRequired
|
||||||
import java.lang.annotation.Target;
|
|
||||||
|
|
||||||
@Target(ElementType.METHOD)
|
|
||||||
@Retention(RetentionPolicy.RUNTIME)
|
|
||||||
public @interface LoginRequired {
|
|
||||||
}
|
|
||||||
|
|||||||
@ -1,11 +1,5 @@
|
|||||||
package roomescape.system.auth.web.support;
|
package roomescape.system.auth.web.support
|
||||||
|
|
||||||
import java.lang.annotation.ElementType;
|
@Target(AnnotationTarget.VALUE_PARAMETER)
|
||||||
import java.lang.annotation.Retention;
|
@Retention(AnnotationRetention.RUNTIME)
|
||||||
import java.lang.annotation.RetentionPolicy;
|
annotation class MemberId
|
||||||
import java.lang.annotation.Target;
|
|
||||||
|
|
||||||
@Target(ElementType.PARAMETER)
|
|
||||||
@Retention(RetentionPolicy.RUNTIME)
|
|
||||||
public @interface MemberId {
|
|
||||||
}
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user