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
package com.doumee.core.jiandaoyun.model.form;
 
import org.apache.commons.collections4.CollectionUtils;
import org.apache.commons.lang3.StringUtils;
 
import java.util.List;
 
public class FormDataBatchRemoveParam {
 
    private List<String> data_ids;
 
    private String app_id;
 
    private String entry_id;
 
    public FormDataBatchRemoveParam(String app_id, String entry_id, List<String> data_ids) {
        this.data_ids = data_ids;
        this.app_id = app_id;
        this.entry_id = entry_id;
    }
 
    public List<String> getData_ids() {
        return data_ids;
    }
 
    public void setData_ids(List<String> data_ids) {
        this.data_ids = data_ids;
    }
 
    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 boolean isValid() {
        return StringUtils.isNotBlank(this.getApp_id()) && StringUtils.isNotBlank(this.getEntry_id()) && CollectionUtils.isNotEmpty(data_ids);
    }
 
    @Override
    public String toString() {
        return "FormDataBatchRemoveParam{" +
                "data_ids=" + data_ids +
                ", app_id='" + app_id + '\'' +
                ", entry_id='" + entry_id + '\'' +
                '}';
    }
}