shikeying
2024-01-11 3b67e947e36133e2a40eb2737b15ea375e157ea0
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
package com.walker.infrastructure.time;
 
/**
 * 时间范围检索条件。
 * @author 时克英
 * @date 2023-06-02
 */
public class TimeRange {
 
    @Override
    public String toString(){
        return new StringBuilder("[startTime=").append(this.startTime)
                .append(", endTime=").append(this.endTime)
                .append("]").toString();
    }
 
    public Long getStartTime() {
        return startTime;
    }
 
    public void setStartTime(Long startTime) {
        this.startTime = startTime;
    }
 
    public Long getEndTime() {
        return endTime;
    }
 
    public void setEndTime(Long endTime) {
        this.endTime = endTime;
    }
 
    public TimeRange(Long startTime, Long endTime){
        this.startTime = startTime;
        this.endTime = endTime;
    }
 
    private Long startTime;
    private Long endTime;
}