You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
477 B
TypeScript

import { Module } from '@nestjs/common';
import { CommonController } from './common.controller';
import { CommonService } from './common.service';
import { TypeOrmModule } from '@nestjs/typeorm';
import { commonRepository } from './common.repository';
import { Common } from './common.entity';
@Module({
imports: [
TypeOrmModule.forFeature([Common]),
],
controllers: [CommonController],
providers: [CommonService,commonRepository]
})
export class CommonModule {}