package cn.ey.biz.module.system.api.bpm.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import javax.validation.constraints.NotEmpty;
import java.util.Map;

@ApiModel("通过任务(指定审核人)Resp DTO")
@Data
public class BpmTaskApproveNominatorDTO extends BpmWeaverDTO {

    @ApiModelProperty(value = "用户Code", required = true, example = "100")
    @NotEmpty(message = "用户Code不能为空")
    private String userCode;

    @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;

    @ApiModelProperty(value = "泛微审核人对应的表单字段")
    private String weaverNominatorForm;

    @ApiModelProperty(value = "审核人Id")
    private String nominatorId;
}
