doum
13 小时以前 36f691267e45ca2861bed663fdcf5f2efcefdfce
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
97
98
99
100
101
package com.doumee.core.jiandaoyun.model.form;
 
import org.apache.commons.lang3.StringUtils;
 
import java.util.Map;
 
public class FormDataCreateParam {
    /**
     * 应用id
     */
    private String app_id;
 
    /**
     * 表单id
     */
    private String entry_id;
 
    /**
     * 数据
     */
    private Map<String, Object> data;
 
    private Boolean is_start_workflow;
 
    private Boolean is_start_trigger;
 
    private String transaction_id;
 
    public FormDataCreateParam() {
    }
 
    public FormDataCreateParam(String app_id, String entry_id, Map<String, Object> data) {
        this.app_id = app_id;
        this.entry_id = entry_id;
        this.data = data;
    }
 
    public String getApp_id() {
        return app_id;
    }
 
    public void setApp_id(String app_id) {
        this.app_id = app_id;
    }
 
    public String getEntry_id() {
        return entry_id;
    }
 
    public void setEntry_id(String entry_id) {
        this.entry_id = entry_id;
    }
 
    public Map<String, Object> getData() {
        return data;
    }
 
    public void setData(Map<String, Object> data) {
        this.data = data;
    }
 
    public Boolean getIs_start_workflow() {
        return is_start_workflow;
    }
 
    public void setIs_start_workflow(Boolean is_start_workflow) {
        this.is_start_workflow = is_start_workflow;
    }
 
    public Boolean getIs_start_trigger() {
        return is_start_trigger;
    }
 
    public void setIs_start_trigger(Boolean is_start_trigger) {
        this.is_start_trigger = is_start_trigger;
    }
 
    public String getTransaction_id() {
        return transaction_id;
    }
 
    public void setTransaction_id(String transaction_id) {
        this.transaction_id = transaction_id;
    }
 
    public boolean isValid() {
        return StringUtils.isNotBlank(this.getApp_id()) && StringUtils.isNotBlank(this.getEntry_id());
    }
 
    @Override
    public String toString() {
        return "FormDataCreateParam{" +
                "app_id='" + app_id + '\'' +
                ", entry_id='" + entry_id + '\'' +
                ", data=" + data +
                ", is_start_workflow=" + is_start_workflow +
                ", is_start_trigger=" + is_start_trigger +
                ", transaction_id='" + transaction_id + '\'' +
                '}';
    }
}