import { Module } from '@nestjs/common';
import { TypeOrmModule } from '@nestjs/typeorm';
import {
  CardLicense,
  CardLicenseIssue,
  License,
  LicenseOrder,
} from './entity/license.entity';
import { LicensesRepositoryService } from './licenses.repository.service';

@Module({
  imports: [
    TypeOrmModule.forFeature([
      LicenseOrder,
      License,
      CardLicense,
      CardLicenseIssue,
    ]),
  ],
  providers: [LicensesRepositoryService],
  exports: [LicensesRepositoryService],
})
export class LicensesRepositoryModule {}
