yangys
2024-10-30 c27b939fa5fa6ce4d712f7e9ced2ad811d69d5ec
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
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
package com.qianwen.smartman.modules.smis.vo;
 
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.List;
import javax.validation.constraints.NotEmpty;
import com.qianwen.smartman.modules.notify.dto.NotifyBusinessSendDTO;
 
public class MaintainPlanAutoAddVO implements Serializable {
    private static final long serialVersionUID = 1;
    @NotEmpty(message = "机器Id不能为空")
    @ApiModelProperty("机器Id集合")
    private List<Long> deviceIdList;
    @NotEmpty(message = "保养项目Id不能为空")
    @ApiModelProperty("保养项目Id集合")
    private List<Long> maintainProjectIdList;
    @ApiModelProperty("备注")
    private String remark;
    @ApiModelProperty("保养性质")
    private Integer maintainNature;
    @ApiModelProperty(value = "保养负责人id", dataType = "java.lang.String")
    private Long maintainUserId;
    @ApiModelProperty("保养负责人名称")
    private String maintainUserName;
    @ApiModelProperty("业务消息发送")
    NotifyBusinessSendDTO notifyBusinessSend;
 
    public void setDeviceIdList(final List<Long> deviceIdList) {
        this.deviceIdList = deviceIdList;
    }
 
    public void setMaintainProjectIdList(final List<Long> maintainProjectIdList) {
        this.maintainProjectIdList = maintainProjectIdList;
    }
 
    public void setRemark(final String remark) {
        this.remark = remark;
    }
 
    public void setMaintainNature(final Integer maintainNature) {
        this.maintainNature = maintainNature;
    }
 
    public void setMaintainUserId(final Long maintainUserId) {
        this.maintainUserId = maintainUserId;
    }
 
    public void setMaintainUserName(final String maintainUserName) {
        this.maintainUserName = maintainUserName;
    }
 
    public void setNotifyBusinessSend(final NotifyBusinessSendDTO notifyBusinessSend) {
        this.notifyBusinessSend = notifyBusinessSend;
    }
 
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (o instanceof MaintainPlanAutoAddVO) {
            MaintainPlanAutoAddVO other = (MaintainPlanAutoAddVO) o;
            if (other.canEqual(this)) {
                Object this$maintainNature = getMaintainNature();
                Object other$maintainNature = other.getMaintainNature();
                if (this$maintainNature == null) {
                    if (other$maintainNature != null) {
                        return false;
                    }
                } else if (!this$maintainNature.equals(other$maintainNature)) {
                    return false;
                }
                Object this$maintainUserId = getMaintainUserId();
                Object other$maintainUserId = other.getMaintainUserId();
                if (this$maintainUserId == null) {
                    if (other$maintainUserId != null) {
                        return false;
                    }
                } else if (!this$maintainUserId.equals(other$maintainUserId)) {
                    return false;
                }
                Object this$deviceIdList = getDeviceIdList();
                Object other$deviceIdList = other.getDeviceIdList();
                if (this$deviceIdList == null) {
                    if (other$deviceIdList != null) {
                        return false;
                    }
                } else if (!this$deviceIdList.equals(other$deviceIdList)) {
                    return false;
                }
                Object this$maintainProjectIdList = getMaintainProjectIdList();
                Object other$maintainProjectIdList = other.getMaintainProjectIdList();
                if (this$maintainProjectIdList == null) {
                    if (other$maintainProjectIdList != null) {
                        return false;
                    }
                } else if (!this$maintainProjectIdList.equals(other$maintainProjectIdList)) {
                    return false;
                }
                Object this$remark = getRemark();
                Object other$remark = other.getRemark();
                if (this$remark == null) {
                    if (other$remark != null) {
                        return false;
                    }
                } else if (!this$remark.equals(other$remark)) {
                    return false;
                }
                Object this$maintainUserName = getMaintainUserName();
                Object other$maintainUserName = other.getMaintainUserName();
                if (this$maintainUserName == null) {
                    if (other$maintainUserName != null) {
                        return false;
                    }
                } else if (!this$maintainUserName.equals(other$maintainUserName)) {
                    return false;
                }
                Object this$notifyBusinessSend = getNotifyBusinessSend();
                Object other$notifyBusinessSend = other.getNotifyBusinessSend();
                return this$notifyBusinessSend == null ? other$notifyBusinessSend == null : this$notifyBusinessSend.equals(other$notifyBusinessSend);
            }
            return false;
        }
        return false;
    }
 
    protected boolean canEqual(final Object other) {
        return other instanceof MaintainPlanAutoAddVO;
    }
 
    public int hashCode() {
        Object $maintainNature = getMaintainNature();
        int result = (1 * 59) + ($maintainNature == null ? 43 : $maintainNature.hashCode());
        Object $maintainUserId = getMaintainUserId();
        int result2 = (result * 59) + ($maintainUserId == null ? 43 : $maintainUserId.hashCode());
        Object $deviceIdList = getDeviceIdList();
        int result3 = (result2 * 59) + ($deviceIdList == null ? 43 : $deviceIdList.hashCode());
        Object $maintainProjectIdList = getMaintainProjectIdList();
        int result4 = (result3 * 59) + ($maintainProjectIdList == null ? 43 : $maintainProjectIdList.hashCode());
        Object $remark = getRemark();
        int result5 = (result4 * 59) + ($remark == null ? 43 : $remark.hashCode());
        Object $maintainUserName = getMaintainUserName();
        int result6 = (result5 * 59) + ($maintainUserName == null ? 43 : $maintainUserName.hashCode());
        Object $notifyBusinessSend = getNotifyBusinessSend();
        return (result6 * 59) + ($notifyBusinessSend == null ? 43 : $notifyBusinessSend.hashCode());
    }
 
    public String toString() {
        return "MaintainPlanAutoAddVO(deviceIdList=" + getDeviceIdList() + ", maintainProjectIdList=" + getMaintainProjectIdList() + ", remark=" + getRemark() + ", maintainNature=" + getMaintainNature() + ", maintainUserId=" + getMaintainUserId() + ", maintainUserName=" + getMaintainUserName() + ", notifyBusinessSend=" + getNotifyBusinessSend() + ")";
    }
 
    public List<Long> getDeviceIdList() {
        return this.deviceIdList;
    }
 
    public List<Long> getMaintainProjectIdList() {
        return this.maintainProjectIdList;
    }
 
    public String getRemark() {
        return this.remark;
    }
 
    public Integer getMaintainNature() {
        return this.maintainNature;
    }
 
    public Long getMaintainUserId() {
        return this.maintainUserId;
    }
 
    public String getMaintainUserName() {
        return this.maintainUserName;
    }
 
    public NotifyBusinessSendDTO getNotifyBusinessSend() {
        return this.notifyBusinessSend;
    }
}