17 lines
547 B
TypeScript
17 lines
547 B
TypeScript
import { Module } from '@nestjs/common';
|
|
import { TypeOrmModule } from '@nestjs/typeorm';
|
|
import { GeneService } from './gene.service';
|
|
import { GeneController } from './gene.controller';
|
|
import { GeneDetailModel } from './entities/gene-detail.entity';
|
|
import { GenomeRequestModel } from '../genome/entities/genome-request.entity';
|
|
|
|
@Module({
|
|
imports: [
|
|
TypeOrmModule.forFeature([GeneDetailModel, GenomeRequestModel]),
|
|
],
|
|
controllers: [GeneController],
|
|
providers: [GeneService],
|
|
exports: [GeneService],
|
|
})
|
|
export class GeneModule {}
|