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;
|
}
|