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 2025年01月07日 */ @Schema(description = "RPC 模型 - 预警和建议 DTO") @Data public class StAlarmAndSuggestRespVO implements Serializable { private static final long serialVersionUID = 1L; @Schema(description = "类型(1:预警,2:建议)") private String type; @Schema(description = "消息标题") private String title; @Schema(description = "消息内容") private String content; @Schema(description = "对象") private String obj; @Schema(description = "时间") @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") private Date time; }