| | |
| | | |
| | | import com.baomidou.mybatisplus.extension.activerecord.Model; |
| | | import java.io.Serializable; |
| | | import java.sql.Time; |
| | | import java.util.Date; |
| | | |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | |
| | | /** |
| | | * 开始时间 |
| | | */ |
| | | @DateTimeFormat(pattern = "HH:mm") |
| | | @JsonFormat(pattern = "HH:mm",timezone = "GMT+8") |
| | | private Date startTime; |
| | | @DateTimeFormat(pattern = "HH:mm:ss") |
| | | @JsonFormat(pattern = "HH:mm:ss",timezone = "GMT+8") |
| | | private Time startTime; |
| | | |
| | | /** |
| | | * 结束时间 |
| | | */ |
| | | @DateTimeFormat(pattern = "HH:mm") |
| | | @JsonFormat(pattern = "HH:mm",timezone = "GMT+8") |
| | | private Date endTime; |
| | | private Time endTime; |
| | | |
| | | /** |
| | | * 传感器 |