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

import cn.reghao.jutil.jdk.event.message.Event;
import cn.reghao.jutil.jdk.web.result.Result;
import lombok.Getter;
import lombok.Setter;

import java.time.LocalDateTime;

/**
 * @author reghao
 * @date 2023-03-06 15:24:22
 */
@Setter
@Getter
public class EvtAppStatResult extends Event {
    private String machineId;
    private String appId;
    private String commitId;
    private Boolean running;
    private LocalDateTime startTime;
    private Integer pid;
    private Boolean deploy;
    private Result result;

    public EvtAppStatResult(String appId, String machineId) {
        this.appId = appId;
        this.machineId = machineId;
        this.running = false;
        this.deploy = false;
    }
}
