import { Module } from '@nestjs/common'
import { TypeOrmModule } from '@nestjs/typeorm'
import { Label } from './entities/label.entity'
import { RoleLabel } from './entities/role-label.entity'
import { LabelController } from './label.controller'
import { LabelService } from './label.service'

@Module({
    imports: [TypeOrmModule.forFeature([Label,RoleLabel])],
    controllers: [LabelController],
    providers: [
        LabelService
    ],
    exports: [LabelService]
})
export class LabelModule {}