package com.agent.management.service;

import com.agent.management.model.vo.CategoryVO;

import java.util.List;

public interface WfCategoryService {

    List<CategoryVO> getCategoryTree();

    CategoryVO createCategory(Long parentId, String name);

    CategoryVO updateCategory(Long id, String name);

    void deleteCategory(Long id);

    void moveCategory(Long id, Long newParentId);

    List<Long> getDescendantCategoryIds(Long categoryId);
}
