yang_shj
3 months ago
13 changed files with 193 additions and 5 deletions
@ -0,0 +1,47 @@
|
||||
package com.hnac.hzims.alarm.config.vo; |
||||
|
||||
import com.fasterxml.jackson.annotation.JsonFormat; |
||||
import com.fasterxml.jackson.databind.annotation.JsonSerialize; |
||||
import com.fasterxml.jackson.databind.ser.std.NullSerializer; |
||||
import io.swagger.annotations.ApiModelProperty; |
||||
import lombok.Data; |
||||
import org.springframework.format.annotation.DateTimeFormat; |
||||
|
||||
import java.time.LocalDateTime; |
||||
import java.util.Date; |
||||
import java.util.List; |
||||
|
||||
/** |
||||
* @author ysj |
||||
*/ |
||||
@Data |
||||
public class AlarmHistoryVo { |
||||
|
||||
@ApiModelProperty(value = "站点编号") |
||||
private String stationId; |
||||
|
||||
@ApiModelProperty(value = "站点名称") |
||||
private String stationName; |
||||
|
||||
@ApiModelProperty(value = "告警类型") |
||||
private Integer alarmType; |
||||
|
||||
@ApiModelProperty(value = "告警内容") |
||||
private String alarmContext; |
||||
|
||||
@ApiModelProperty("处理人") |
||||
private Long handleUser; |
||||
|
||||
@ApiModelProperty("处理人名称") |
||||
private Long handleUserName; |
||||
|
||||
@ApiModelProperty(value = "告警时间") |
||||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss.SSS") |
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss.SSS") |
||||
private LocalDateTime alarmTime; |
||||
|
||||
@ApiModelProperty("处理时间") |
||||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
||||
private Date handleTime; |
||||
} |
@ -0,0 +1,28 @@
|
||||
package com.hnac.hzims.alarm.show.vo; |
||||
|
||||
import io.swagger.annotations.ApiModelProperty; |
||||
import lombok.Data; |
||||
|
||||
import java.util.List; |
||||
|
||||
/** |
||||
* @author ysj |
||||
* @date 2023/03/17 10:02:33 |
||||
* @version 4.0.0 |
||||
*/ |
||||
@Data |
||||
public class AlarmHistoryParamVo { |
||||
|
||||
@ApiModelProperty(value = "站点编号") |
||||
private String stationId; |
||||
|
||||
@ApiModelProperty(value = "告警日期 : yyyy-MM-dd") |
||||
private String alarmTime; |
||||
|
||||
@ApiModelProperty(value = "告警类型") |
||||
private Integer alarmType; |
||||
|
||||
@ApiModelProperty(value = "处理方式") |
||||
private Long handleWay; |
||||
} |
||||
|
Loading…
Reference in new issue