import { Module } from '@nestjs/common';
import { TypeOrmModule } from '@nestjs/typeorm';
import { TempFranchise } from './entities/temp_franchise.entity';
import { FranchiseHistory } from '../franchise_history/entities/franchise_history.entity';
import { UserEntity } from '../user/entities/user.entity';
import { Franchises } from '../franchises/entities/franchises.entity';
import { TempFranchiseService } from './temp_franchise.service';
import { TempFranchiseController } from './temp_franchise.controller';

@Module({
  imports: [
    TypeOrmModule.forFeature([
      TempFranchise,
      FranchiseHistory,
      UserEntity,
      Franchises,
    ]),
  ],
  controllers: [TempFranchiseController],
  providers: [TempFranchiseService],
  exports: [TempFranchiseService],
})
export class TempFranchiseModule {}
