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;

@ApiModel(" 验证用户是否是当前流程操作者接口RequestDTO")
@Data
public class CheckOperatorAndSharedRequestDTO extends BpmWeaverDTO{

    @ApiModelProperty(value = "用户Code", required = true, example = "100")
    private String userCode;

    @ApiModelProperty(value = "请求ID")
    @NotEmpty(message = "请求ID")
    private String  requestId;

    @ApiModelProperty(value = "类型 QUERY, EDIT, CHECK")
    @NotEmpty(message = "类型")
    private String authType;

}
