yangys
2024-05-30 a3686cfa49bf53fb91a2ceb960cf15b3ebdac641
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
package com.qianwen.smartman.modules.cps.message.dto;
 
import java.io.Serializable;
 
/**
 * 采集的数据
 */
public class TelemetryDataResponseDTO implements Serializable {
    private String v;
    private Long t;
 
    public void setV(final String v) {
        this.v = v;
    }
 
    public void setT(final Long t) {
        this.t = t;
    }
 
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (o instanceof TelemetryDataResponseDTO) {
            TelemetryDataResponseDTO other = (TelemetryDataResponseDTO) o;
            if (other.canEqual(this)) {
                Object this$t = getT();
                Object other$t = other.getT();
                if (this$t == null) {
                    if (other$t != null) {
                        return false;
                    }
                } else if (!this$t.equals(other$t)) {
                    return false;
                }
                Object this$v = getV();
                Object other$v = other.getV();
                return this$v == null ? other$v == null : this$v.equals(other$v);
            }
            return false;
        }
        return false;
    }
 
    protected boolean canEqual(final Object other) {
        return other instanceof TelemetryDataResponseDTO;
    }
 
    public int hashCode() {
        Object $t = getT();
        int result = (1 * 59) + ($t == null ? 43 : $t.hashCode());
        Object $v = getV();
        return (result * 59) + ($v == null ? 43 : $v.hashCode());
    }
 
    public String toString() {
        return "TelemetryDataResponseDTO(v=" + getV() + ", t=" + getT() + ")";
    }
 
    public TelemetryDataResponseDTO(final String v, final Long t) {
        this.v = v;
        this.t = t;
    }
 
    public TelemetryDataResponseDTO() {
    }
 
    public String getV() {
        return this.v;
    }
 
    public Long getT() {
        return this.t;
    }
}