package cn.axzo.workflow.form.service;


import cn.axzo.workflow.common.model.request.form.definition.FormDefinitionSearchDTO;
import cn.axzo.workflow.common.model.request.form.definition.FormContentSearchDTO;
import cn.axzo.workflow.common.model.response.form.definition.FormDefinitionVO;
import org.flowable.form.api.FormInfo;

/**
 * 表单定义相关服务接口
 *
 * @author wangli
 * @since 2023/7/19 16:46
 */
public interface FormDefinitionService {

    FormDefinitionVO get(FormDefinitionSearchDTO dto);

    /**
     * 表单内容，适用于发起时打开原始表单页面
     * @param dto
     * @return
     */
    FormInfo getFormInfo(FormContentSearchDTO dto);
}
