import { Module } from '@nestjs/common'
import { PaperController } from './paper.controller'
import { PaperService } from './paper.service'
import { TypeOrmModule } from '@nestjs/typeorm'
import { PaperOrder } from './entities/paper-order.entity'
import { PaperGenResult } from './entities/paper-gen-result.entity'
import { RefSearchRecord } from './entities/ref-search-record.entity'
import { MembershipModule } from 'src/membership/membership.module'
import { RefController } from './ref.controller'
import { PaperOrderAttachment } from './entities/paper-order-attachment.entity'

@Module({
    imports: [
        TypeOrmModule.forFeature([PaperOrder, PaperGenResult, RefSearchRecord, PaperOrderAttachment]),
        MembershipModule
    ],
    controllers: [PaperController, RefController],
    providers: [PaperService]
})
export class PaperModule {}
