田源
2025-01-16 a13255b4129ee8a7a7b7e1ecd8e02dd2c78f7c17
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
package com.vci.starter.web.annotation.workflow;
 
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
 
/**
 * 流程事件中的字段
 * 配合WorkflowEvent使用,自动读取字段的名称和类型
 * @author weidy
 */
@Target({ElementType.FIELD})
@Retention(RetentionPolicy.RUNTIME)
public @interface WorkflowEventField {
 
    /**
     * 是否必输
     * @return
     */
    boolean required() default false;
}