OWL ITS + 탐지시스템(인터넷 진흥원)
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
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
package kr.wisestone.owl.web.condition;
 
import com.google.common.collect.Lists;
import kr.wisestone.owl.util.ConvertUtil;
import kr.wisestone.owl.util.MapUtil;
 
import java.util.List;
import java.util.Map;
 
/**
 * Created by wyu on 2021-11-05.
 */
public class DepartmentCondition {
    private Long id;
    private String departmentName;
    private String departmentDescription;
    private Long departmentCount;
    private Long projectId;
 
    private List<Long> excludeIds = Lists.newArrayList();
    private List<Long> departmentIds = Lists.newArrayList();
 
    private Long issueTypeId;
 
    private Integer Page;
    private Integer PageSize;
 
    public static DepartmentCondition make(Map<String, Object> departmentConditions) {
        DepartmentCondition condition = ConvertUtil.convertMapToClass(departmentConditions, DepartmentCondition.class);
 
        if (MapUtil.getStrings(departmentConditions, "excludeIds") != null) {
            condition.setExcludeIds(MapUtil.getLongs(departmentConditions, "excludeIds"));
        }
 
        return condition;
    }
 
    public Long getId() {
        return id;
    }
 
    public void setId(Long id) {
        this.id = id;
    }
 
    public String getDepartmentName() {
        return departmentName;
    }
 
    public void setDepartmentName(String departmentName) {
        this.departmentName = departmentName;
    }
 
    public String getDepartmentDescription() {
        return departmentDescription;
    }
 
    public void setDepartmentDescription(String departmentDescription) {
        this.departmentDescription = departmentDescription;
    }
 
    public Long getDepartmentCount() {
        return departmentCount;
    }
 
    public void setDepartmentCount(Long departmentCount) {
        this.departmentCount = departmentCount;
    }
 
    public Long getProjectId() {
        return projectId;
    }
 
    public void setProjectId(Long projectId) {
        this.projectId = projectId;
    }
 
    public Integer getPage() {
        return Page;
    }
 
    public void setPage(Integer page) {
        Page = page;
    }
 
    public Integer getPageSize() {
        return PageSize;
    }
 
    public void setPageSize(Integer pageSize) {
        PageSize = pageSize;
    }
 
    public List<Long> getDepartmentIds() {
        return departmentIds;
    }
 
    public void setDepartmentIds(List<Long> departmentIds) {
        this.departmentIds = departmentIds;
    }
 
    public List<Long> getExcludeIds() {
        return excludeIds;
    }
 
    public void setExcludeIds(List<Long> excludeIds) {
        this.excludeIds = excludeIds;
    }
 
    public Long getIssueTypeId() {
        return issueTypeId;
    }
 
    public void setIssueTypeId(Long issueTypeId) {
        this.issueTypeId = issueTypeId;
    }
}