<%~ includeFile('./header.eta') %>

import { Module } from "@nestjs/common";
import {<%= it.entityName %>} from './<%= it.entityName%>.entity'
import { TypeOrmModule } from "@nestjs/typeorm";
import {<%= it.svcName %>} from "./<%= it.entityName %>.service";
<% if (it.includeController) { %>import {<%= it.ctrlName %>} from "./<%= it.entityName %>.controller";
<% } %>
@Module({
  imports: [TypeOrmModule.forFeature([<%= it.entityName %>])],
  providers: [<%= it.svcName %>],
  exports: [<%= it.svcName %>],
<% if (it.includeController) { %>  controllers: [<%= it.ctrlName %>],
<% } %>})
export class <%= it.moduleName %> {}
