package com.qqchen.deploy.backend.workflow.dto.query;

import com.qqchen.deploy.backend.framework.annotation.QueryField;
import com.qqchen.deploy.backend.framework.enums.QueryType;
import com.qqchen.deploy.backend.framework.query.BaseQuery;
import com.qqchen.deploy.backend.workflow.enums.NodeCategoryEnums;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 工作流节点定义查询对象
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class WorkflowNodeDefinitionQuery extends BaseQuery {
    
    /**
     * 节点类型编码
     */
    @QueryField(field = "type", type = QueryType.LIKE)
    private String type;
    
    /**
     * 节点名称
     */
    @QueryField(field = "name", type = QueryType.LIKE)
    private String name;
    
    /**
     * 节点分类
     */
    @QueryField(field = "category", type = QueryType.EQUAL)
    private NodeCategoryEnums category;
    
    /**
     * 是否启用
     */
    @QueryField(field = "enabled", type = QueryType.EQUAL)
    private Boolean enabled;
} 