dangsn
2024-06-06 33321f5486fd586fda6fd3f46b7e71754fede28b
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;
}