于紫祥_1901
2020-08-12 19b06c5deda2a18d0c77b71ac5189d34c532b25e
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
package com.moral.entity.charts;
 
import lombok.Data;
 
import java.util.Date;
 
@Data
public class TimePeriod {
       public TimePeriod(){
 
       }
       public TimePeriod (Date startTime,Date endTime,TimeUnits timeUnits)
       {
              this.startTime = startTime;
              this.endTime = endTime;
              this.timeUnits = timeUnits;
       }
       private TimeUnits timeUnits;//区间单位
       private Date startTime;//开始时间
       private Date endTime;//结束时间
}