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

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.Map;

/**
 * 从工作流启动创建表单数据请求
 *
 * @author qqchen
 * @date 2025-10-25
 */
@Data
@Schema(description = "从工作流启动创建表单数据请求")
public class FormDataCreateFromWorkflowRequest {

    @Schema(description = "表单标识", required = true, example = "APPROVAL-AND-DEPLOYMENT")
    private String formKey;

    @Schema(description = "表单填写数据", required = true)
    private Map<String, Object> formData;

    @Schema(description = "业务标识（工作流实例的 businessKey）", required = true, example = "DEPLOY-2023-001")
    private String businessKey;
}

