package com.iailab.module.model.api.mcs.dto;
|
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
import io.swagger.v3.oas.annotations.media.Schema;
|
import lombok.Data;
|
|
import java.io.Serializable;
|
import java.util.Date;
|
|
/**
|
* @author PanZhibao
|
* @Description
|
* @createTime 2024年10月10日
|
*/
|
@Schema(description = "RPC 模型 - 预警消息 DTO")
|
@Data
|
public class AlarmMessageReqDTO implements Serializable {
|
private static final long serialVersionUID = 1L;
|
|
@Schema(description = "监控对象")
|
private String alarmObj;
|
|
@Schema(description = "监控点位ID")
|
private String pointId;
|
|
@Schema(description = "预测项ID")
|
private String itemId;
|
|
@Schema(description = "预警时间")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
private Date alarmTime;
|
|
@Schema(description = "开始时间")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
private Date startTime;
|
|
@Schema(description = "结束时间")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
private Date endTime;
|
}
|