import { Module } from '@nestjs/common';
import { HospitalsService } from './hospitals.service.js';
import { HospitalsController } from './hospitals.controller.js';
import { AccessTokenGuard } from '../auth/access-token.guard.js';
import { RolesGuard } from '../auth/roles.guard.js';
import { OrganizationAccessService } from '../organization-common/organization-access.service.js';

/**
 * 医院资源模块：聚合医院控制器与服务。
 */
@Module({
  controllers: [HospitalsController],
  providers: [
    HospitalsService,
    OrganizationAccessService,
    AccessTokenGuard,
    RolesGuard,
  ],
  exports: [HospitalsService],
})
export class HospitalsModule {}
