初始化

This commit is contained in:
2026-02-22 18:56:10 +08:00
commit 26677972a6
3112 changed files with 255972 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
package tech.easyflow.common.annotation;
import java.lang.annotation.*;
@Inherited
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.TYPE})
public @interface DictDef {
String name();
String code();
String keyField();
String labelField();
}

View File

@@ -0,0 +1,10 @@
package tech.easyflow.common.annotation;
import java.lang.annotation.*;
@Target({ElementType.TYPE, ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface NeedApiKeyAccess {
String[] value() default {};
}

View File

@@ -0,0 +1,11 @@
package tech.easyflow.common.annotation;
import java.lang.annotation.*;
@Inherited
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.TYPE})
public @interface UsePermission {
// 使用哪个模块的权限
String moduleName();
}