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;
|
}
|