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

import cn.axzo.workflow.common.model.request.BpmPageParam;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;
import java.util.List;

/**
 * 全量历史流程实例搜索入参模型
 *
 * @author wangli
 * @since 2023/7/30 22:01
 */
@EqualsAndHashCode(callSuper = true)
@ApiModel("全量历史流程实例搜索入参模型")
@Data
public class HistoricProcessInstanceSearchDTO extends BpmPageParam {

    @ApiModelProperty(value = "businessKey OR Name")
    private String searchKey;

    private String category;

    private String result;

    private List<String> userIds;

    private Date startBeginTime;

    private Date startEndTime;

    private Date finishedBeginTime;

    private Date finishedEndTime;

    private String tenantId;
}

