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

import com.friday.operation.api.distributor.constant.TaieTaskRecordState;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * @Author YaoYao
 * @Date Created In 14:53 2023/5/17
 * @Description
 * @Modified By
 */
@Data
public class TaieTaskRecord implements Serializable {
    /**
     * TAIE租户
     */
    private String taieTenant;
    /**
     * 业务类型
     */
    private String taskType;
    /**
     * taskId
     */
    private String taskId;
    /**
     * 状态{@link TaieTaskRecordState}
     */
    private String state;
    /**
     * 运行工位
     */
    private String execRobot;
    /**
     * 失败原因
     */
    private String failMsg;
    /**
     * 结果文件
     */
    private List<TaskResultFile> resultFiles;
    /**
     * 任务开始执行时间
     */
    private String startTime;
    /**
     * 任务结束执行时间
     */
    private String endTime;
    /**
     * 任务创建时间
     */
    private String createTime;
}
