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
package com.qianwen.smartman.modules.mdc.dto;
 
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
 
public class ParamDTO implements Serializable {
    private static final long serialVersionUID = -4353208301080753423L;
    @ApiModelProperty("时间点")
    private String time;
    @ApiModelProperty("对应的值")
    private String value;
 
   
    public static class ParamDTOBuilder {
        private String time;
        private String value;
 
        ParamDTOBuilder() {
        }
 
        public ParamDTOBuilder time(final String time) {
            this.time = time;
            return this;
        }
 
        public ParamDTOBuilder value(final String value) {
            this.value = value;
            return this;
        }
 
        public ParamDTO build() {
            return new ParamDTO(this.time, this.value);
        }
 
        public String toString() {
            return "ParamDTO.ParamDTOBuilder(time=" + this.time + ", value=" + this.value + ")";
        }
    }
 
    public void setTime(final String time) {
        this.time = time;
    }
 
    public void setValue(final String value) {
        this.value = value;
    }
 
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (o instanceof ParamDTO) {
            ParamDTO other = (ParamDTO) o;
            if (other.canEqual(this)) {
                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$value = getValue();
                Object other$value = other.getValue();
                return this$value == null ? other$value == null : this$value.equals(other$value);
            }
            return false;
        }
        return false;
    }
 
    protected boolean canEqual(final Object other) {
        return other instanceof ParamDTO;
    }
 
    public int hashCode() {
        Object $time = getTime();
        int result = (1 * 59) + ($time == null ? 43 : $time.hashCode());
        Object $value = getValue();
        return (result * 59) + ($value == null ? 43 : $value.hashCode());
    }
 
    public String toString() {
        return "ParamDTO(time=" + getTime() + ", value=" + getValue() + ")";
    }
 
    public static ParamDTOBuilder builder() {
        return new ParamDTOBuilder();
    }
 
    public ParamDTO() {
    }
 
    public ParamDTO(final String time, final String value) {
        this.time = time;
        this.value = value;
    }
 
    public String getTime() {
        return this.time;
    }
 
    public String getValue() {
        return this.value;
    }
}