package com.friday.operation.api.distributor.dto;

import com.friday.operation.api.distributor.constant.TaieJobRecordState;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @Author YaoYao
 * @Date Created In 14:53 2023/5/17
 * @Description
 * @Modified By
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class TaieJobRecord implements Serializable {
    /**
     * invokeId
     */
    private Integer invokeId;
    /**
     * 状态{@link TaieJobRecordState}
     */
    private String state;
    /**
     * 运行工位
     */
    private String execRobot;
    /**
     * 失败原因
     */
    private String failMsg;
    /**
     * 任务开始执行时间
     */
    private String startTime;
    /**
     * 任务结束执行时间
     */
    private String endTime;
}
