import { Module, forwardRef } from '@nestjs/common';
import { TypeOrmModule } from '@nestjs/typeorm';
import { ModelConfig } from './model-config.entity';
import { ModelConfigService } from './model-config.service';
import { ModelConfigController } from './model-config.controller';
import { TenantModule } from '../tenant/tenant.module';

@Module({
  imports: [
    TypeOrmModule.forFeature([ModelConfig]),
    forwardRef(() => TenantModule),
  ],
  providers: [ModelConfigService],
  controllers: [ModelConfigController],
  exports: [ModelConfigService],
})
export class ModelConfigModule { }
