yangys
2024-04-04 ed4a5236bab800094be4a8378f5098eebe3de6ac
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
118
119
120
121
122
123
124
125
126
127
128
129
package com.qianwen.smartman.modules.notify.vo;
 
import io.swagger.annotations.ApiModelProperty;
import java.util.List;
import java.util.stream.Collectors;
import com.qianwen.core.tool.utils.Func;
import com.qianwen.smartman.modules.notify.dto.BusinessNotifyStateDTO;
 
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/notify/vo/BusinessNotifyStateVO.class */
public class BusinessNotifyStateVO {
    @ApiModelProperty("员工列表")
    List<BusinessNotifyStateDTO> empList;
    @ApiModelProperty("部门列表")
    List<BusinessNotifyStateDTO> orgList;
    @ApiModelProperty("员工ids")
    List<Long> empIds;
    @ApiModelProperty("部门ids")
    List<Long> orgIds;
 
    public void setEmpList(final List<BusinessNotifyStateDTO> empList) {
        this.empList = empList;
    }
 
    public void setOrgList(final List<BusinessNotifyStateDTO> orgList) {
        this.orgList = orgList;
    }
 
    public void setEmpIds(final List<Long> empIds) {
        this.empIds = empIds;
    }
 
    public void setOrgIds(final List<Long> orgIds) {
        this.orgIds = orgIds;
    }
 
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (o instanceof BusinessNotifyStateVO) {
            BusinessNotifyStateVO other = (BusinessNotifyStateVO) o;
            if (other.canEqual(this)) {
                Object this$empList = getEmpList();
                Object other$empList = other.getEmpList();
                if (this$empList == null) {
                    if (other$empList != null) {
                        return false;
                    }
                } else if (!this$empList.equals(other$empList)) {
                    return false;
                }
                Object this$orgList = getOrgList();
                Object other$orgList = other.getOrgList();
                if (this$orgList == null) {
                    if (other$orgList != null) {
                        return false;
                    }
                } else if (!this$orgList.equals(other$orgList)) {
                    return false;
                }
                Object this$empIds = getEmpIds();
                Object other$empIds = other.getEmpIds();
                if (this$empIds == null) {
                    if (other$empIds != null) {
                        return false;
                    }
                } else if (!this$empIds.equals(other$empIds)) {
                    return false;
                }
                Object this$orgIds = getOrgIds();
                Object other$orgIds = other.getOrgIds();
                return this$orgIds == null ? other$orgIds == null : this$orgIds.equals(other$orgIds);
            }
            return false;
        }
        return false;
    }
 
    protected boolean canEqual(final Object other) {
        return other instanceof BusinessNotifyStateVO;
    }
 
    public int hashCode() {
        Object $empList = getEmpList();
        int result = (1 * 59) + ($empList == null ? 43 : $empList.hashCode());
        Object $orgList = getOrgList();
        int result2 = (result * 59) + ($orgList == null ? 43 : $orgList.hashCode());
        Object $empIds = getEmpIds();
        int result3 = (result2 * 59) + ($empIds == null ? 43 : $empIds.hashCode());
        Object $orgIds = getOrgIds();
        return (result3 * 59) + ($orgIds == null ? 43 : $orgIds.hashCode());
    }
 
    public String toString() {
        return "BusinessNotifyStateVO(empList=" + getEmpList() + ", orgList=" + getOrgList() + ", empIds=" + getEmpIds() + ", orgIds=" + getOrgIds() + ")";
    }
 
    public List<BusinessNotifyStateDTO> getEmpList() {
        return this.empList;
    }
 
    public List<BusinessNotifyStateDTO> getOrgList() {
        return this.orgList;
    }
 
    public List<Long> getEmpIds() {
        if (Func.isNotEmpty(this.empIds)) {
            return this.empIds;
        }
        if (Func.isNotEmpty(this.empList)) {
            return (List) this.empList.stream().map((v0) -> {
                return v0.getPersonId();
            }).collect(Collectors.toList());
        }
        return null;
    }
 
    public List<Long> getOrgIds() {
        if (Func.isNotEmpty(this.orgIds)) {
            return this.orgIds;
        }
        if (Func.isNotEmpty(this.orgList)) {
            return (List) this.orgList.stream().map((v0) -> {
                return v0.getPersonId();
            }).collect(Collectors.toList());
        }
        return null;
    }
}