package com.multictrl.modules.business.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;


/**
 * 健康告警
 *
 * @author Sdy
 * @since 1.0.0 2026-05-10
 */
@Data
@Schema(name = "健康告警")
public class HmsDTO implements Serializable {
    @Serial
    private static final long serialVersionUID = 1L;

    @Schema(name = "网关编号")
    private String gateway;

    @Schema(name = "设备编号")
    private String dockSn;

    @Schema(name = "设备类型")
    private String deviceType;

    @Schema(name = "设备名称")
    private String deviceName;

    @Schema(name = "告警码")
    private String code;

    @Schema(name = "事件描述")
    private String description;

    @Schema(name = "是否为及时性的")
    private String imminent;

    @Schema(name = "是否飞行")
    private String inTheSky;

    @Schema(name = "告警等级 {0:通知,1:提醒,2:警告}")
    private Integer level;

    @Schema(name = "事件模块")
    private String module;

    @Schema(name = "创建时间")
    private Date createDate;

    @Schema(name = "上报时间")
    private Date reportDate;
}
