import { Module } from '@nestjs/common';
import { ProductsService } from './products.service';
import { ProductsController } from './products.controller';
import { Product } from '@/entities/product.entity';
import { TypeOrmModule } from '@nestjs/typeorm';
import { MediasModule } from '../medias/medias.module';
import { EventsModule } from '../events/events.module';
import { PublistHistory } from '@/entities/publist-history.entity';

@Module({
  imports: [
    TypeOrmModule.forFeature([Product, PublistHistory]),
    MediasModule,
    EventsModule,
  ],
  providers: [ProductsService],
  controllers: [ProductsController],
})
export class ProductsModule {}
