| | |
| | | package com.whyc.dto; |
| | | |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import org.springframework.format.annotation.DateTimeFormat; |
| | | |
| | | import java.util.Date; |
| | | import java.sql.Date; |
| | | |
| | | /** |
| | | * 电池组测试数据 传输类 |
| | |
| | | * 电池测试类型 |
| | | */ |
| | | private Integer testType; |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
| | | @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
| | | @DateTimeFormat(pattern = "yyyy-MM-dd",iso = DateTimeFormat.ISO.DATE) |
| | | private Date recordStartTime; |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
| | | @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
| | | @DateTimeFormat(pattern = "yyyy-MM-dd",iso = DateTimeFormat.ISO.DATE) |
| | | private Date recordEndTime; |
| | | /** |
| | | * 放电类型 |
| | | * 类型:0-全部;1-核容放电;2-核容充电;3-监测放电;4-监测充电;5-停电放电 |
| | | */ |
| | | private Integer dischargeType; |
| | | |