import { Module } from '@nestjs/common'
import { TypeOrmModule } from '@nestjs/typeorm'
import { WebService } from './web.service'
import { Case } from './entities/case.entity'
import { Web } from './entities/web.entity'
import { Question } from './entities/Question.entity'
import { HomeCase } from './entities/homeCase.entity'
import { WebController } from './web.controller'
import { Ability } from './entities/ability.entity'
import { Connect } from './entities/connect.entity'

@Module({
    imports: [TypeOrmModule.forFeature([Case, Web, Question, HomeCase, Ability, Connect])],
    controllers: [WebController],
    providers: [WebService],
    exports: [WebService]
})
export class WebModule {}
