package com.mortals.xhx.feign.task;

import com.alibaba.fastjson.JSON;
import com.mortals.xhx.feign.AttachmentEntity;
import com.mortals.xhx.feign.BaseTaskReq;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * 任务执行(审批参数)
 *
 * @author: zxfei
 * @date: 2021/8/26 17:23
 */
@Data
@ApiModel(value = "CompleteTask" , description = "审批参数")
public class CompleteTaskReq extends BaseTaskReq implements Serializable {

    private static final long serialVersionUID = -5583096980348786337L;
    /**
     * 流程标题 选填   只有在重新发起的时候才会修改表单标题
     */
    @ApiModelProperty(value = "流程标题")
    private String formTitle;
    /**
     * 任务参数 选填
     */
    @ApiModelProperty(value = "任务参数")
    private Map<String, Object> variables;

    /**
     * 任务参数 附件 选填
     */
    @ApiModelProperty(value = "附件参数")
    private List<AttachmentEntity> attachments;




}
