import { Module } from '@nestjs/common'
import { TypeOrmModule } from '@nestjs/typeorm'
import { FormService } from './form.service'
import { Form } from './entities/form.entity'
import { FormController } from './form.controller'
import { Field } from './entities/filed.entity'
import { UserField } from './entities/userField.entity'

@Module({
    imports: [TypeOrmModule.forFeature([Form, Field,UserField])],
    controllers: [FormController],
    providers: [FormService],
    exports: [FormService]
})
export class FormModule {}
