|
@@ -4,6 +4,9 @@ import com.zcxk.rmcp.api.dto.BasePageDto;
|
|
|
import io.swagger.annotations.Api;
|
|
|
import io.swagger.annotations.ApiModelProperty;
|
|
|
import lombok.Data;
|
|
|
+import org.springframework.format.annotation.DateTimeFormat;
|
|
|
+
|
|
|
+import java.util.Date;
|
|
|
|
|
|
/**
|
|
|
* @description
|
|
@@ -20,11 +23,13 @@ public class AlarmTypeDetailsDto {
|
|
|
@ApiModelProperty("告警分类")
|
|
|
private Integer alarmCategory;
|
|
|
|
|
|
+ @DateTimeFormat(pattern = "yyyy-MM-dd")
|
|
|
@ApiModelProperty("开始时间")
|
|
|
- private String startTime;
|
|
|
+ private Date startTime;
|
|
|
|
|
|
+ @DateTimeFormat(pattern = "yyyy-MM-dd")
|
|
|
@ApiModelProperty("结束时间")
|
|
|
- private String endTime;
|
|
|
+ private Date endTime;
|
|
|
|
|
|
@ApiModelProperty("0 : 历史报警 1:实时报警")
|
|
|
private int state;
|