package cn.axzo.workflow.common.model.request.form.definition;

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

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

/**
 * 查询表单定义入参模型
 *
 * @author wangli
 * @since 2024-11-07 18:29
 */
@ApiModel("表单定义的搜索入参模型")
@Data
public class FormDefinitionSearchDTO {

    @ApiModelProperty(value = "表单部署 ID")
    private String deploymentId;

    @ApiModelProperty(value = "表单定义 KEY")
    private String key;

    @ApiModelProperty(value = "表单定义版本")
    private Integer version;

    @ApiModelProperty(value = "表单归属租户")
    private String tenantId = NO_TENANT_ID;

    @ApiModelProperty(value = "表单关联的流程定义部署 ID")
    private String parentDeploymentId;
}
