package com.corewing.app.service;

import cn.hutool.core.lang.tree.Tree;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.corewing.app.dto.AppModel.ModelCategoryListRequest;
import com.corewing.app.dto.AppModel.ModelCategoryPageRequest;
import com.corewing.app.dto.AppModel.ModelDownloadRequest;
import com.corewing.app.dto.AppModel.ModelFavoriteRequest;
import com.corewing.app.entity.AppModelCategory;

import javax.validation.Valid;
import java.util.List;

public interface AppModelCategoryService extends IService<AppModelCategory> {

    Page<AppModelCategory> page(ModelCategoryPageRequest modelCategoryPageRequest);

    List<AppModelCategory> list(ModelCategoryListRequest modelCategoryListRequest);

    List<Tree<String>> tree(ModelCategoryListRequest modelCategoryListRequest);

}
