You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
import { Module } from '@nestjs/common';
|
|
|
|
|
import { SequelizeModule } from '@nestjs/sequelize';
|
|
|
|
|
import { UsersService } from './users.service';
|
|
|
|
|
import { UsersController } from './users.controller';
|
|
|
|
|
import { User } from './users.model';
|
|
|
|
|
|
|
|
|
|
@Module({
|
|
|
|
|
imports: [
|
|
|
|
|
SequelizeModule.forFeature([User]),
|
|
|
|
|
],
|
|
|
|
|
providers: [UsersService],
|
|
|
|
|
controllers: [UsersController],
|
|
|
|
|
exports: [SequelizeModule, UsersService],
|
|
|
|
|
})
|
|
|
|
|
export class UsersModule {}
|