package com.bstek.dorado.annotation; import java.lang.annotation.*; /** * @author: andy.jia * @description: 因为版本1.0中引用了Dorado实现,该包作为通用包,不引用Dorado,为了通用,重写这个注解 * @date:2019.03.07 **/ @Retention(RetentionPolicy.RUNTIME) @Target({ElementType.METHOD, ElementType.FIELD}) @Inherited public @interface PropertyDef { String label() default ""; String description() default ""; boolean required() default false; }