OWL ITS + 탐지시스템(인터넷 진흥원)
wyu
2021-11-15 1bcea4755d662f243400ac916f43550a3bc13ded
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
package kr.wisestone.owl.web.form;
 
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 jeong on 2017-12-30.
 */
public class DepartmentForm {
    private Long id;
    private String departmentName;
    private String departmentDescription;
    private Long departmentCount;
    private List<Long> removeIds = Lists.newArrayList();
 
    public DepartmentForm() {
    }
 
    public static DepartmentForm make(Map<String, Object> params) {
        DepartmentForm form = ConvertUtil.convertMapToClass(params, DepartmentForm.class);
 
        if (MapUtil.getLongs(params,"removeIds") != null) {
            form.setRemoveIds(MapUtil.getLongs(params, "removeIds"));
        }
        return form;
    }
 
    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 List<Long> getRemoveIds() {
        return removeIds;
    }
 
    public void setRemoveIds(List<Long> removeIds) {
        this.removeIds = removeIds;
    }
}