yangys
2024-11-02 f69073b835f1a0c66590130e1830edcdd75ebb8a
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
package com.qianwen.smartman.modules.mdc.dto;
 
import java.io.Serializable;
import java.sql.Timestamp;
 
public class ProcessParameterVO implements Serializable {
    private static final long serialVersionUID = -1794674168753499898L;
    private Timestamp time;
    private Long realTime;
    private String collectItem;
    private String valueCollect;
 
    public void setTime(final Timestamp time) {
        this.time = time;
    }
 
    public void setRealTime(final Long realTime) {
        this.realTime = realTime;
    }
 
    public void setCollectItem(final String collectItem) {
        this.collectItem = collectItem;
    }
 
    public void setValueCollect(final String valueCollect) {
        this.valueCollect = valueCollect;
    }
 
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (o instanceof ProcessParameterVO) {
            ProcessParameterVO other = (ProcessParameterVO) o;
            if (other.canEqual(this)) {
                Object this$realTime = getRealTime();
                Object other$realTime = other.getRealTime();
                if (this$realTime == null) {
                    if (other$realTime != null) {
                        return false;
                    }
                } else if (!this$realTime.equals(other$realTime)) {
                    return false;
                }
                Object this$time = getTime();
                Object other$time = other.getTime();
                if (this$time == null) {
                    if (other$time != null) {
                        return false;
                    }
                } else if (!this$time.equals(other$time)) {
                    return false;
                }
                Object this$collectItem = getCollectItem();
                Object other$collectItem = other.getCollectItem();
                if (this$collectItem == null) {
                    if (other$collectItem != null) {
                        return false;
                    }
                } else if (!this$collectItem.equals(other$collectItem)) {
                    return false;
                }
                Object this$valueCollect = getValueCollect();
                Object other$valueCollect = other.getValueCollect();
                return this$valueCollect == null ? other$valueCollect == null : this$valueCollect.equals(other$valueCollect);
            }
            return false;
        }
        return false;
    }
 
    protected boolean canEqual(final Object other) {
        return other instanceof ProcessParameterVO;
    }
 
    public int hashCode() {
        Object $realTime = getRealTime();
        int result = (1 * 59) + ($realTime == null ? 43 : $realTime.hashCode());
        Object $time = getTime();
        int result2 = (result * 59) + ($time == null ? 43 : $time.hashCode());
        Object $collectItem = getCollectItem();
        int result3 = (result2 * 59) + ($collectItem == null ? 43 : $collectItem.hashCode());
        Object $valueCollect = getValueCollect();
        return (result3 * 59) + ($valueCollect == null ? 43 : $valueCollect.hashCode());
    }
 
    public String toString() {
        return "ProcessParameterVO(time=" + getTime() + ", realTime=" + getRealTime() + ", collectItem=" + getCollectItem() + ", valueCollect=" + getValueCollect() + ")";
    }
 
    public ProcessParameterVO() {
    }
 
    public ProcessParameterVO(final Timestamp time, final Long realTime, final String collectItem, final String valueCollect) {
        this.time = time;
        this.realTime = realTime;
        this.collectItem = collectItem;
        this.valueCollect = valueCollect;
    }
 
    public Timestamp getTime() {
        return this.time;
    }
 
    public Long getRealTime() {
        return this.realTime;
        /*
        if(this.time != null) {
            return this.time.getTime();
        }else {
            return null;
        }*/
    }
 
    public String getCollectItem() {
        return this.collectItem;
    }
 
    public String getValueCollect() {
        return this.valueCollect;
    }
 
    public String getValue() {
        return getValueCollect();
    }
}