leutu
2024-05-08 543e4eb01ca210b20876e8139cb3d0403d7d065c
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
package com.skyline.electricity.pojo;
 
import java.util.*;
 
public class DeviceKKSDto
{
    private String device_name;
    private String account;
    private String device_id;
    private List<KKSInfo> msg;
    
    public String getDevice_name() {
        return this.device_name;
    }
    
    public String getAccount() {
        return this.account;
    }
    
    public String getDevice_id() {
        return this.device_id;
    }
    
    public List<KKSInfo> getMsg() {
        return this.msg;
    }
    
    public void setDevice_name(final String device_name) {
        this.device_name = device_name;
    }
    
    public void setAccount(final String account) {
        this.account = account;
    }
    
    public void setDevice_id(final String device_id) {
        this.device_id = device_id;
    }
    
    public void setMsg(final List<KKSInfo> msg) {
        this.msg = msg;
    }
    
    @Override
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (!(o instanceof DeviceKKSDto)) {
            return false;
        }
        final DeviceKKSDto other = (DeviceKKSDto)o;
        if (!other.canEqual(this)) {
            return false;
        }
        final Object this$device_name = this.getDevice_name();
        final Object other$device_name = other.getDevice_name();
        Label_0065: {
            if (this$device_name == null) {
                if (other$device_name == null) {
                    break Label_0065;
                }
            }
            else if (this$device_name.equals(other$device_name)) {
                break Label_0065;
            }
            return false;
        }
        final Object this$account = this.getAccount();
        final Object other$account = other.getAccount();
        Label_0102: {
            if (this$account == null) {
                if (other$account == null) {
                    break Label_0102;
                }
            }
            else if (this$account.equals(other$account)) {
                break Label_0102;
            }
            return false;
        }
        final Object this$device_id = this.getDevice_id();
        final Object other$device_id = other.getDevice_id();
        Label_0139: {
            if (this$device_id == null) {
                if (other$device_id == null) {
                    break Label_0139;
                }
            }
            else if (this$device_id.equals(other$device_id)) {
                break Label_0139;
            }
            return false;
        }
        final Object this$msg = this.getMsg();
        final Object other$msg = other.getMsg();
        if (this$msg == null) {
            if (other$msg == null) {
                return true;
            }
        }
        else if (this$msg.equals(other$msg)) {
            return true;
        }
        return false;
    }
    
    protected boolean canEqual(final Object other) {
        return other instanceof DeviceKKSDto;
    }
    
    @Override
    public int hashCode() {
        final int PRIME = 59;
        int result = 1;
        final Object $device_name = this.getDevice_name();
        result = result * 59 + (($device_name == null) ? 43 : $device_name.hashCode());
        final Object $account = this.getAccount();
        result = result * 59 + (($account == null) ? 43 : $account.hashCode());
        final Object $device_id = this.getDevice_id();
        result = result * 59 + (($device_id == null) ? 43 : $device_id.hashCode());
        final Object $msg = this.getMsg();
        result = result * 59 + (($msg == null) ? 43 : $msg.hashCode());
        return result;
    }
    
    @Override
    public String toString() {
        return "DeviceKKSDto(device_name=" + this.getDevice_name() + ", account=" + this.getAccount() + ", device_id=" + this.getDevice_id() + ", msg=" + this.getMsg() + ")";
    }
}