package com.yunzhupaas.flowable.model.trigger;

import io.swagger.v3.oas.annotations.media.Schema;
import com.yunzhupaas.flowable.entity.TriggerRecordEntity;
import com.yunzhupaas.flowable.model.templatejson.TemplateJsonInfoVO;
import com.yunzhupaas.flowable.model.templatenode.ButtonModel;
import com.yunzhupaas.flowable.model.templatenode.TaskNodeModel;
import lombok.Data;

import java.util.ArrayList;
import java.util.List;

/**
 * 类的描述
 *
 * @author YUNZHUPAASYUNZHUPAAS开发组
 * @version 5.0.x
 * @since 2024/9/21 10:35
 */
@Data
public class TriggerInfoModel {
    @Schema(description = "流程详情")
    private TemplateJsonInfoVO flowInfo;
    @Schema(description = "流转记录")
    private List<TriggerRecordEntity> recordList = new ArrayList<>();
    @Schema(description = "节点")
    private List<TaskNodeModel> nodeList = new ArrayList<>();
    @Schema(description = "按钮控制")
    private ButtonModel btnInfo = new ButtonModel();
    @Schema(description = "任务信息")
    private TriggerTaskModel taskInfo;
}
