package com.mortals.xhx.busiz;


import com.mortals.xhx.common.code.CommentTypeEnum;
import com.mortals.xhx.common.code.ProcessStatusEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 *
 * 接收消息基础类
 * @author: zxfei
 * @date: 2022/4/6 14:39
 */
@Data
public abstract class BaseReq implements Serializable {
    /**********************任务相关的参数**********************/
    /**
     * 任务id 必填
     */
    @ApiModelProperty(value = "任务id", required = true)
    private String taskId;
    /**
     * 流程实例的id
     */
    @ApiModelProperty(value = "流程实例的id", required = true)
    private String processInstanceId;

    /**
     * 节点id 选填
     */
    @ApiModelProperty(value = "节点id")
    private String activityId;
    /**
     * 节点名称 选填
     */
    @ApiModelProperty(value = "节点名称")
    private String activityName;
    /**
     * 流程实例状态 必填
     */
    @ApiModelProperty(value = "流程实例状态", required = true)
    private ProcessStatusEnum processStatusEnum;
    /**********************审批意见的参数**********************/
    /**
     * 操作人code 必填
     */
    @ApiModelProperty(value = "操作人code", required = true)
    private String userCode;
    /**
     * 审批意见 必填
     */
    @ApiModelProperty(value = "审批意见", required = true)
    private String message;
    /**
     * 审批意见类型 必填
     */
    @ApiModelProperty(value = "审批意见类型", required = true)
    private CommentTypeEnum commentTypeEnum;


}
