package cn.ey.biz.module.system.controller.bpm.task.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import java.util.Map;

@ApiModel("流程管理 - 通过流程任务的 Request VO")
@Data
public class BpmTaskApproveReqVO {

    @ApiModelProperty(value = "明细表数据")
    private String detailData;

    @ApiModelProperty(value = "其他参数")
    private String otherParams;

    @ApiModelProperty(value = "任务编号", required = true, example = "1024")
    @NotEmpty(message = "任务编号不能为空")
    private String id;

    @ApiModelProperty(value = "审批意见", required = true, example = "不错不错！")
    private String reason;

    @ApiModelProperty(value = "变量实例")
    private Map<String, Object> variables;

}
