package org.springblade.code.annotation;
|
|
import org.springframework.stereotype.Component;
|
|
import java.lang.annotation.ElementType;
|
import java.lang.annotation.Retention;
|
import java.lang.annotation.RetentionPolicy;
|
import java.lang.annotation.Target;
|
|
/**
|
* 自定义流水算法的注解
|
* @author weidy
|
* @date 2022-1-18
|
*/
|
@Target({ElementType.TYPE})
|
@Retention(RetentionPolicy.RUNTIME)
|
@Component
|
public @interface MdmSerialAlgorithm {
|
|
/**
|
* 值,实际就是这个注解所在的类的全路径
|
* @return 值
|
*/
|
String value() default "";
|
|
/**
|
* 事件的名称
|
* @return 事件名称
|
*/
|
String text();
|
|
/**
|
* 描述
|
* @return 描述
|
*/
|
String description() default "";
|
}
|