import { Module } from '@nestjs/common';
import { ResourceController } from './resource.controller';
import { ResourceService } from './resource.service';
import { TypeOrmModule } from '@nestjs/typeorm';
import { Resource } from './entity/resource.entity';

@Module({
  imports:[TypeOrmModule.forFeature([Resource])],
  controllers: [ResourceController],
  providers: [ResourceService]
})
export class ResourceModule {}
