package tech.easyflow.ai.service;

import com.mybatisflex.core.service.IService;
import tech.easyflow.ai.entity.PluginCategory;
import tech.easyflow.ai.entity.PluginCategoryMapping;

import java.math.BigInteger;
import java.util.List;

/**
 *  服务层。
 *
 * @author Administrator
 * @since 2025-05-21
 */
public interface PluginCategoryMappingService extends IService<PluginCategoryMapping> {

    boolean updateRelation(BigInteger pluginId, List<BigInteger> categoryIds);

    List<PluginCategory> getPluginCategories(BigInteger pluginId);
}
