package com.testor.workflow.form.service;

import com.testor.workflow.form.model.ZFormDTO;
import com.testor.workflow.form.model.ZModelFormDTO;
import org.flowable.ui.modeler.model.ModelRepresentation;
import org.springframework.web.bind.annotation.RequestBody;

public interface ZFormService {

    /**
     * 创建form
     * @param zformDto
     */
    ModelRepresentation createForm(ZFormDTO zformDto);

    /**
     * form绑定流程节点
     * @param zmodelFormDto
     */
    boolean bindModelForm(@RequestBody ZModelFormDTO zmodelFormDto);
}
