package com.qqchen.deploy.backend.workflow.dto.event;

import com.qqchen.deploy.backend.workflow.enums.WorkflowInstanceStatusEnums;
import com.qqchen.deploy.backend.workflow.enums.WorkflowNodeInstanceStatusEnums;
import lombok.Builder;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@Builder
public class WorkflowNodeInstanceStatusChangeEvent {

    private String processInstanceId;

    private String executionId;

    private String nodeId;

    private String nodeName;

    private String nodeType;

    private WorkflowNodeInstanceStatusEnums status;

    private LocalDateTime startTime;

    private LocalDateTime endTime;

}
