package gaf3.core.services.bff

import gaf3.core.services.bff.dao.GafBffUserDeptDAO
import gaf3.core.services.bind.dao.GafBindItemDAO
import gaf3.core.services.bind.service.BindService
import gaf3.core.services.role.dao.GafRoleItemDAO
import gaf3.core.services.user.dao.GafUserInfoDAO
import gaf3.core.services.user.service.UserService
import org.springframework.boot.autoconfigure.domain.EntityScan
import org.springframework.context.annotation.ComponentScan
import org.springframework.context.annotation.Configuration
import org.springframework.data.jpa.repository.config.EnableJpaRepositories

@Configuration("gafBffServiceConfiguration")
@EntityScan(basePackages = ["gaf3.core.services"])
@ComponentScan(basePackageClasses = [BffServiceConfiguration::class, BindService::class, UserService::class])
@EnableJpaRepositories(basePackageClasses = [GafBffUserDeptDAO::class,
    GafBindItemDAO::class, GafUserInfoDAO::class, GafRoleItemDAO::class])
class BffServiceConfiguration {
}

