package cn.axzo.workflow.common.model.request.bpmn.task;

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

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

@Data
@ApiModel("获取审批任务按钮，状态入参模型")
public class BpmnTaskButtonSearchDTO implements Serializable {

    private static final long serialVersionUID = -3220083731019329293L;

    @ApiModelProperty(value = "流程实例id", required = true)
    @NotBlank(message = "流程实例id不能为空")
    private String processInstanceId;

    @ApiModelProperty(value = "审批任务id", required = true)
    @NotBlank(message = "审批任务id不能为空")
    private String taskId;

    private Long initiatorPersonId;

    private Long executorPersonId;
}
