2022-04-11 09:03:04 +07:00
|
|
|
package com.cubetiqs.web.annotation
|
2021-05-18 10:39:20 +07:00
|
|
|
|
|
|
|
import org.springframework.context.annotation.Lazy
|
|
|
|
import org.springframework.core.annotation.AliasFor
|
|
|
|
import org.springframework.stereotype.Component
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @author sombochea <Sambo Chea>
|
|
|
|
* @email sombochea@cubetiqs.com
|
|
|
|
* @date 18/05/21
|
|
|
|
* @since 1.0
|
|
|
|
*/
|
|
|
|
@Retention(AnnotationRetention.RUNTIME)
|
|
|
|
@Target(AnnotationTarget.ANNOTATION_CLASS, AnnotationTarget.CLASS)
|
|
|
|
@Lazy(value = true)
|
|
|
|
@Component
|
|
|
|
annotation class FunctionComponent(
|
|
|
|
@get: AliasFor(annotation = Component::class)
|
|
|
|
val value: String = ""
|
|
|
|
)
|