package com.yunzhupaas.flowable.model.message;

import com.yunzhupaas.flowable.entity.RecordEntity;
import com.yunzhupaas.flowable.entity.TaskEntity;
import com.yunzhupaas.flowable.model.templatenode.nodejson.TemplateJsonModel;
import com.yunzhupaas.permission.entity.UserEntity;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Map;

/**
 * 类的描述
 *
 * @author YUNZHUPAASYUNZHUPAAS开发组
 * @version 5.0.x
 * @since 2024/4/23 9:41
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class FlowEventModel {
    //数据
    private String dataJson;
    //表单数据
    private Map<String, Object> data;
    //系统匹配
    private TemplateJsonModel templateJson;
    //操作对象
    private RecordEntity record;
    // 任务
    private TaskEntity taskEntity;

    private UserEntity createUser;
    private UserEntity delegate;

}

