com.ape9527.core.annotation.CustomizedValue Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ape-core Show documentation
Show all versions of ape-core Show documentation
Ape low code platform core module
The newest version!
package com.ape9527.core.annotation;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* 自定义注解,属性值注入
* value()示例:
* ${xxx.xxx}: yml中不存在相关配置时为null
* ${xxx.xxx:defaultValue}: yml中不存在相关配置时为defaultValue
*
* @author YuanShuai[[email protected]]
*/
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.FIELD)
public @interface CustomizedValue {
String value() default "";
}