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