wangting
2024-10-28 9917e97580a9c43b88aba553776a54f33a11c9d2
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;
}