import { Module } from '@nestjs/common';
import { UnidSaudeService } from './services/unid-saude/unid-saude.service';
import { UnidSaudeController } from './unid-saude.controller';
import { SequelizeModule } from '@nestjs/sequelize';
import { UnidSaude } from './entity/unid-saude.model';
import { Paciente } from './entity/paciente.unid-saude.model';
import { PacienteService } from './services/paciente/paciente.service';
import { Cid } from './entity/cid.model';
import { Atendimento } from './entity/atendimento.model';
import { AtendimentoService } from './services/atendimento/atendimento.service';
import { CidService } from './services/cid/cid.service';



@Module({
    imports: [SequelizeModule.forFeature( [UnidSaude, Paciente, Cid, Atendimento])],
    controllers: [UnidSaudeController],
    providers: [ UnidSaudeService, PacienteService, AtendimentoService, CidService],
})
export class UnidSaudeModule {}
