ny
昨天 b6f169fe43a2b13f351aefc152374fc7f0bc8cb7
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
package jnpf.flowable.model.templatenode.nodejson;
 
import io.swagger.v3.oas.annotations.media.Schema;
import jnpf.flowable.enums.ExtraRuleEnum;
import jnpf.flowable.enums.OperatorEnum;
import lombok.Data;
 
import java.util.ArrayList;
import java.util.List;
 
@Data
public class TimeConfig {
 
    //----------------------限时------------------------
    /**
     * 开始时间 0-接收时间,1-发起时间,2-表单变量
     */
    @Schema(description = "开始类型")
    private Integer nodeLimit = 0;
    /**
     * 表单字段key
     */
    @Schema(description = "表单字段key")
    private String formField = "";
    /**
     * 限定时长 默认24 (小时)
     */
    @Schema(description = "限定时长")
    private Integer duringDeal = 24;
 
    //--------------------超时-------------------------
    /**
     * 超时自动审批
     */
    @Schema(description = "超时自动审批")
    private Boolean overAutoApprove = false;
    /**
     * 超时次数
     */
    @Schema(description = "超时次数")
    private Integer overAutoApproveTime = 5;
 
    /**
     * 超时自动转审
     */
    @Schema(description = "超时自动转审")
    private Boolean overAutoTransfer = false;
    /**
     * 转审超时次数
     */
    @Schema(description = "转审超时次数")
    private Integer overAutoTransferTime = 5;
    /**
     * 转审人类型
     */
    @Schema(description = "转审人类型")
    private Integer overTimeType = OperatorEnum.Nominator.getCode();
    /**
     * 接口主键
     */
    @Schema(description = "接口主键")
    private String interfaceId;
    /**
     * 模块json
     */
    @Schema(description = "模块json")
    private List<TemplateJsonModel> templateJson = new ArrayList<>();
    /**
     * 转审人
     */
    @Schema(description = "转审人")
    private List<String> reApprovers = new ArrayList<>();
    /**
     * 超时审批人,2.同一部门 7.同一角色 3.同一岗位 8.同一分组
     */
    @Schema(description = "超时审批人")
    private Integer overTimeExtraRule = ExtraRuleEnum.organize.getCode();
 
    //---------------------公共----------------------------------
    /**
     * 超时设置 0.关闭  1.自定义  2.同步发起配置
     */
    @Schema(description = "超时设置")
    private Integer on = 0;
    /**
     * 第一次时间
     * (小时)第一次超时时间默认值0=第一次触发超时事件时间=节点限定时长起始值+节点处理限定时长+设定的第一次超时时间
     */
    @Schema(description = "第一次时间")
    private Integer firstOver = 0;
    /**
     * 时间间隔(提醒、超时)
     */
    @Schema(description = "时间间隔")
    private Integer overTimeDuring = 2;
}