yangys
2025-11-18 8e944cfabb253fc2556588e308e282586043f7b0
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
package com.qianwen.smartman.modules.mdc.dto;
 
import java.io.Serializable;
 
public class TimeDTO implements Serializable {
    private static final long serialVersionUID = -3851767521941943590L;
    private Long startTime;
    private Long endTime;
 
    
    public static class TimeDTOBuilder {
        private Long startTime;
        private Long endTime;
 
        TimeDTOBuilder() {
        }
 
        public TimeDTOBuilder startTime(final Long startTime) {
            this.startTime = startTime;
            return this;
        }
 
        public TimeDTOBuilder endTime(final Long endTime) {
            this.endTime = endTime;
            return this;
        }
 
        public TimeDTO build() {
            return new TimeDTO(this.startTime, this.endTime);
        }
 
        public String toString() {
            return "TimeDTO.TimeDTOBuilder(startTime=" + this.startTime + ", endTime=" + this.endTime + ")";
        }
    }
 
    public void setStartTime(final Long startTime) {
        this.startTime = startTime;
    }
 
    public void setEndTime(final Long endTime) {
        this.endTime = endTime;
    }
 
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (o instanceof TimeDTO) {
            TimeDTO other = (TimeDTO) o;
            if (other.canEqual(this)) {
                Object this$startTime = getStartTime();
                Object other$startTime = other.getStartTime();
                if (this$startTime == null) {
                    if (other$startTime != null) {
                        return false;
                    }
                } else if (!this$startTime.equals(other$startTime)) {
                    return false;
                }
                Object this$endTime = getEndTime();
                Object other$endTime = other.getEndTime();
                return this$endTime == null ? other$endTime == null : this$endTime.equals(other$endTime);
            }
            return false;
        }
        return false;
    }
 
    protected boolean canEqual(final Object other) {
        return other instanceof TimeDTO;
    }
 
    public int hashCode() {
        Object $startTime = getStartTime();
        int result = (1 * 59) + ($startTime == null ? 43 : $startTime.hashCode());
        Object $endTime = getEndTime();
        return (result * 59) + ($endTime == null ? 43 : $endTime.hashCode());
    }
 
    public String toString() {
        return "TimeDTO(startTime=" + getStartTime() + ", endTime=" + getEndTime() + ")";
    }
 
    public static TimeDTOBuilder builder() {
        return new TimeDTOBuilder();
    }
 
    public TimeDTO() {
    }
 
    public TimeDTO(final Long startTime, final Long endTime) {
        this.startTime = startTime;
        this.endTime = endTime;
    }
 
    public Long getStartTime() {
        return this.startTime;
    }
 
    public Long getEndTime() {
        return this.endTime;
    }
}