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

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 static cn.axzo.workflow.common.constant.BpmnConstants.NO_TENANT_ID;

/**
 * 流程关联文档搜索入参模型
 *
 * @author wangli
 * @since 2025-03-31 09:46
 */
@EqualsAndHashCode(callSuper = true)
@ApiModel("流程关联文档搜索入参模型")
@Data
public class DocSearchDTO extends BpmPageParam {

    private static final long serialVersionUID = -308388315001754954L;
    /**
     * 流程模型 ID
     */
    @ApiModelProperty(value = "模型 ID")
    private String modelId;

    @ApiModelProperty(value = "租户 ID")
    private String tenantId = NO_TENANT_ID;

    @ApiModelProperty(value = "是否包含临时文档")
    private Boolean tempFile = false;
}
