import { Module } from '@nestjs/common';
import { TypeOrmModule } from '@nestjs/typeorm';
import { SysUser } from './entities/SysUser';
import { SysUserLog } from './entities/SysUserLog';
import { SysUserRole } from './entities/SysUserRole';
import { CoreAdminService } from './services/core/CoreAdminService';
import { AdminService } from './services/admin/AdminService';
import { AdminController } from './controllers/adminapi/AdminController';

@Module({
  imports: [
    TypeOrmModule.forFeature([SysUser, SysUserLog, SysUserRole]),
  ],
  providers: [CoreAdminService, AdminService],
  controllers: [AdminController],
  exports: [CoreAdminService, AdminService],
})
export class AdminModule {} 