// server/src/user-setting/user-setting.module.ts
import { Module } from '@nestjs/common';
import { TypeOrmModule } from '@nestjs/typeorm';
import { UserSetting } from './user-setting.entity';
import { UserSettingService } from './user-setting.service';
import { UserSettingController } from './user-setting.controller';
import { ModelConfigModule } from '../model-config/model-config.module';
import { TenantModule } from '../tenant/tenant.module';

@Module({
  imports: [TypeOrmModule.forFeature([UserSetting]), ModelConfigModule, TenantModule],
  providers: [UserSettingService],
  controllers: [UserSettingController],
  exports: [UserSettingService], // Export if other modules need to use UserSettingService
})
export class UserSettingModule { }
