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

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

import javax.annotation.Nullable;
import javax.validation.constraints.NotBlank;

/**
 * 最基础的流程实例查询入参模型
 *
 * @author wangli
 * @since 2023/7/14 13:48
 */
@ApiModel("最基础的流程实例查询入参模型")
@Data
@Accessors(chain = true)
public class BpmnBasicProcessInstanceQueryDTO {
    /**
     * 流程实例 ID
     */
    @ApiModelProperty(value = "流程实例 Id")
    @NotBlank(message = "流程实例 ID 不能为空")
    private String processInstanceId;

    /**
     * 业务 key
     */
    @ApiModelProperty("业务key")
    private String businessKey;

    /**
     * 租户 ID
     */
    @ApiModelProperty("租户 ID")
    @Nullable
    private String tenantId;
}
