package com.qqchen.deploy.backend.deploy.service.impl;

import com.qqchen.deploy.backend.deploy.dto.ServerCategoryDTO;
import com.qqchen.deploy.backend.deploy.entity.ServerCategory;
import com.qqchen.deploy.backend.deploy.query.ServerCategoryQuery;
import com.qqchen.deploy.backend.deploy.repository.IServerCategoryRepository;
import com.qqchen.deploy.backend.deploy.service.IServerCategoryService;
import com.qqchen.deploy.backend.framework.annotation.ServiceType;
import com.qqchen.deploy.backend.framework.service.impl.BaseServiceImpl;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

/**
 * 服务器分类服务实现
 */
@Slf4j
@Service
@ServiceType(ServiceType.Type.DATABASE)
public class ServerCategoryServiceImpl 
    extends BaseServiceImpl<ServerCategory, ServerCategoryDTO, ServerCategoryQuery, Long>
    implements IServerCategoryService {

    private final IServerCategoryRepository serverCategoryRepository;

    public ServerCategoryServiceImpl(IServerCategoryRepository serverCategoryRepository) {
        this.serverCategoryRepository = serverCategoryRepository;
    }
}

