package com.njcn.kafka.event.pojo.dto;

import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.List;

/**
 * Description:
 * Date: 2026/06/04  上午 9:14【需求编号】
 *
 * @author clam
 * @version V1.0.0
 */
@Data
public class EventPushDTO {
    /**
     * type :
     * time : 2025-10-09 13:25:14
     * body : [{"eventdetail_index":"d4963f8f-201f-443f-b293-dda8ef870ee6","lineid":"1591","timeid":"2025-10-09 13:25:14","ms":"509","describe":"","wavetype":"1","persisttime":"23.000","eventvalue":"0.6","eventreason":"","eventtype":"","gdname":"","bdname":"110kV皇后店变","busname":"XX名称","phasicType":"A","pointname":"232待用","wavePath":"192.168.1.102/3_20240515_163022_349"}]
     */

    private String type;
    private LocalDateTime time;
    private List<EventDTO> body;

    @Data
    public static class EventDTO {
        /**
         * eventdetail_index : d4963f8f-201f-443f-b293-dda8ef870ee6
         * lineid : 1591
         * timeid : 2025-10-09 13:25:14
         * ms : 509
         * describe :
         * wavetype : 1
         * persisttime : 23.000
         * eventvalue : 0.6
         * eventreason :
         * eventtype :
         * gdname :
         * bdname : 110kV皇后店变
         * busname : XX名称
         * phasicType : A
         * pointname : 232待用
         * wavePath : 192.168.1.102/3_20240515_163022_349
         */

        private String eventdetail_index;
        private Integer lineid;
        private LocalDateTime timeid;
        private Integer ms;
        private String describe;
        private String wavetype;
        private BigDecimal persisttime;
        private BigDecimal eventvalue;
        private String eventreason;
        private String eventtype;
        private String gdname;
        private String bdname;
        private String busname;
        private String phasicType;
        private String pointname;
        private String wavePath;


    }
}
