package com.friday.operation.api.tooldriver.dto.rpa;

import com.alibaba.fastjson.JSONObject;
import com.friday.operation.api.tooldriver.constant.RpaJobStartSourceEnum;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @Author YaoYao
 * @Date Created In 11:28 2022/12/1
 * @Description 启动任务数据结构
 * @Modified By
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class StartJobDto implements Serializable {
    /**
     * 流程唯一键
     */
    private String processReleaseKey;
    /**
     * 机器人唯一键
     */
    private String robotKey;
    /**
     * 启动入参
     */
    private String inputArguments;
    /**
     * 启动来源
     * {@link RpaJobStartSourceEnum}
     */
    private String source;
    /**
     * 其它信息
     */
    private JSONObject extInfo;

}
