package cn.reghao.bnt.common.msg.event;

import cn.reghao.jutil.jdk.web.result.AppVersion;
import cn.reghao.jutil.jdk.event.message.Event;
import cn.reghao.jutil.jdk.machine.data.detail.*;
import lombok.Getter;
import lombok.Setter;

import java.util.List;

/**
 * @author reghao
 * @date 2022-05-05 13:59:15
 */
@Getter
@Setter
public class EvtAgentStart extends Event {
    @Deprecated
    private String protocol;
    private String machineId;
    private AppVersion appVersion;

    private OsDetail osDetail;
    private List<NetworkDetail> networkDetails;
    private CpuDetail cpuDetail;
    private MemoryDetail memoryDetail;
    private List<DiskDetail> diskDetails;
    private Long timestamp;

    public EvtAgentStart() {
        this.timestamp = System.currentTimeMillis();
    }
}
