package com.dk.mdm.controller.sys;

import com.dk.common.controller.BaseController;
import com.dk.common.service.BaseService;
import com.dk.mdm.model.pojo.sys.DictionaryItem;
import com.dk.mdm.service.sys.DictionaryItemService;
import io.swagger.annotations.Api;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author : 姜宏超
 * @desc : 数据字典项目API接口
 * @date : 2022/5/14 13:08
 */
@Api(tags = "数据字典API接口")
@RestController
@RequestMapping("/sys/dictionary_item")
public class DictionaryItemController extends BaseController<DictionaryItem> {

    /**
     * @desc : 返回service对象
     * @author : 姜宏超
     * @date : 2022/5/14 13:08
     */
    @Override
    public BaseService<DictionaryItem> getService() {
        return dictionaryItemService;
    }

    /**
     * @desc : 注入数据字典service
     * @author : 姜宏超
     * @date : 2022/5/14 13:08
     */
    @Autowired
    private DictionaryItemService dictionaryItemService;

}
