package top.continew.admin.controller.business;

import io.swagger.v3.oas.annotations.tags.Tag;
import org.springframework.web.bind.annotation.RestController;
import top.continew.admin.business.model.query.ModelQuery;
import top.continew.admin.business.model.req.ModelReq;
import top.continew.admin.business.model.resp.ModelResp;
import top.continew.admin.business.service.ModelService;
import top.continew.starter.extension.crud.annotation.CrudRequestMapping;
import top.continew.starter.extension.crud.controller.BaseController;
import top.continew.starter.extension.crud.enums.Api;

/**
 * 模型 API
 *
 * @author 张波
 * @since 2024/10/19 14:30
 */
@Tag(name = "模型 API")
@RestController
@CrudRequestMapping(value = "/model", api = {Api.LIST, Api.PAGE, Api.GET, Api.ADD, Api.UPDATE, Api.DELETE, Api.EXPORT})
public class ModelController extends BaseController<ModelService, ModelResp, ModelResp, ModelQuery, ModelReq> {

    @Override
    protected void checkPermission(Api api) {
    }
}
