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
package com.qianwen.smartman.modules.dnc.vo;
 
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.Map;
import com.qianwen.smartman.modules.dnc.dto.serial.SerialSetting;
 
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/dnc/vo/SerialSendVO.class */
public class SerialSendVO implements Serializable {
    private static final long serialVersionUID = -2293865057222765176L;
    @ApiModelProperty("远程文件url")
    private String remoteUrl;
    @ApiModelProperty("串口配置")
    private SerialSetting serialSetting;
    @ApiModelProperty("非必传")
    private Map<String, String> header;
 
    public void setRemoteUrl(final String remoteUrl) {
        this.remoteUrl = remoteUrl;
    }
 
    public void setSerialSetting(final SerialSetting serialSetting) {
        this.serialSetting = serialSetting;
    }
 
    public void setHeader(final Map<String, String> header) {
        this.header = header;
    }
 
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (o instanceof SerialSendVO) {
            SerialSendVO other = (SerialSendVO) o;
            if (other.canEqual(this)) {
                Object this$remoteUrl = getRemoteUrl();
                Object other$remoteUrl = other.getRemoteUrl();
                if (this$remoteUrl == null) {
                    if (other$remoteUrl != null) {
                        return false;
                    }
                } else if (!this$remoteUrl.equals(other$remoteUrl)) {
                    return false;
                }
                Object this$serialSetting = getSerialSetting();
                Object other$serialSetting = other.getSerialSetting();
                if (this$serialSetting == null) {
                    if (other$serialSetting != null) {
                        return false;
                    }
                } else if (!this$serialSetting.equals(other$serialSetting)) {
                    return false;
                }
                Object this$header = getHeader();
                Object other$header = other.getHeader();
                return this$header == null ? other$header == null : this$header.equals(other$header);
            }
            return false;
        }
        return false;
    }
 
    protected boolean canEqual(final Object other) {
        return other instanceof SerialSendVO;
    }
 
    public int hashCode() {
        Object $remoteUrl = getRemoteUrl();
        int result = (1 * 59) + ($remoteUrl == null ? 43 : $remoteUrl.hashCode());
        Object $serialSetting = getSerialSetting();
        int result2 = (result * 59) + ($serialSetting == null ? 43 : $serialSetting.hashCode());
        Object $header = getHeader();
        return (result2 * 59) + ($header == null ? 43 : $header.hashCode());
    }
 
    public String toString() {
        return "SerialSendVO(remoteUrl=" + getRemoteUrl() + ", serialSetting=" + getSerialSetting() + ", header=" + getHeader() + ")";
    }
 
    public String getRemoteUrl() {
        return this.remoteUrl;
    }
 
    public SerialSetting getSerialSetting() {
        return this.serialSetting;
    }
 
    public Map<String, String> getHeader() {
        return this.header;
    }
}