Defines CRUD operations for product categories, enabling controllers and other components to create, update, delete, and list product categories within the product module.
// Source: https://github.com/yuqing2026/ruoyi-office | License: MIT | Copyright 2021 yudao-cloud
// Provided via justclaw.it.com; keep this notice with the code.
package cn.iocoder.yudao.module.product.service.category;
import cn.iocoder.yudao.module.product.controller.admin.category.vo.ProductCategoryListReqVO;
import cn.iocoder.yudao.module.product.controller.admin.category.vo.ProductCategorySaveReqVO;
import cn.iocoder.yudao.module.product.dal.dataobject.category.ProductCategoryDO;
import jakarta.validation.Valid;
import java.util.Collection;
import java.util.List;
/**
* 商品分类 Service 接口
*
* @author 宇擎源码
*/
public interface ProductCategoryService {
/**
* 创建商品分类
*
* @param createReqVO 创建信息
* @return 编号
*/
Long createCategory(@Valid ProductCategory
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key