package com.fs.company.param;

import com.fs.company.domain.CompanyWorkflowEdge;
import com.fs.company.domain.CompanyWorkflowNode;
import lombok.Data;

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

/**
 * AI工作流保存参数
 *
 * @author fs
 * @date 2026-01-06
 */
@Data
public class CompanyWorkflowSaveParam implements Serializable {
    private static final long serialVersionUID = 1L;

    /** 工作流ID(新增时为空) */
    private Long workflowId;

    /** 工作流名称 */
    private String workflowName;

    /** 工作流描述 */
    private String workflowDesc;

    /** 工作流类型 */
    private Integer workflowType;
    private String startNodeKey;
    private String endNodeKey;

    /** 画布数据JSON */
    private String canvasData;
    private Long companyId;
    private Long companyUserId;

    /** 节点列表 */
    private List<CompanyWorkflowNode> nodes;

    /** 连线列表 */
    private List<CompanyWorkflowEdge> edges;
}
