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

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

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

/**
 * 获取打印模板配置内容入参模型
 *
 * @author wangli
 * @since 2025-01-20 16:53
 */
@ApiModel("获取打印模板配置内容入参模型")
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class PrintTemplateConfigQueryDTO {

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

    /**
     * 流程实例 ID
     */
    @ApiModelProperty(value = "流程实例 ID")
    private String processInstanceId;

    /**
     * 业务 ID
     */
    @ApiModelProperty(value = "业务 ID")
    private String processDefinitionKey;

    /**
     * 租户 ID，配置 processDefinitionKey 使用
     */
    @ApiModelProperty(value = "租户 ID")
    private String tenantId = NO_TENANT_ID;
}
