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.
12 lines
427 B
12 lines
427 B
import { Module } from "@nestjs/common"; |
|
import { ProductsService } from "./products.service"; |
|
import { ProductsController } from "./products.controller"; |
|
import { SequelizeModule } from "@nestjs/sequelize"; |
|
import { Product } from "./entities/product.entity"; |
|
|
|
@Module({ |
|
imports: [SequelizeModule.forFeature([Product])], |
|
controllers: [ProductsController], |
|
providers: [ProductsService], |
|
}) |
|
export class ProductsModule {}
|
|
|