package cn.axzo.workflow.common.model.dto;

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

import static cn.axzo.workflow.common.constant.BpmnConstants.NO_TENANT_ID;

/**
 * 搜索
 *
 * @author wangli
 * @date 2024/11/08
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class BpmnFormRelationSearchDTO extends BpmPageParam {

    /**
     * 业务标识
     */
    @ApiModelProperty(value = "业务标识")
    private String key;

    /**
     * 审批模型定义 ID
     */
    @ApiModelProperty(value = "审批模型定义 ID")
    private String bpmnDefinitionId;

    /**
     * 表单定义部署 ID
     */
    @ApiModelProperty(value = "表单定义部署 ID")
    private String formDeploymentId;

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