import { Module } from '@nestjs/common'
import { TypeOrmModule } from '@nestjs/typeorm'
import { Moments } from './entities/moments.entity'
import { MomentsController } from './moments.controller'
import { MomentsService } from './moments.service'
import { ChatRoleModule } from '../chat-role/chat-role.module'
import { LikesModule } from 'src/likes/likes.module'
import { ChatRole } from 'src/chat-role/entities/chat-role.entity'
import { Likes } from 'src/likes/entities/likes.entity'
import { ChatModule } from 'src/chat/chat.module'
import { MaskModule } from 'src/mask/mask.module'
import { Mask } from 'src/mask/entities/mask.entity'

@Module({
    imports: [TypeOrmModule.forFeature([Moments, ChatRole, Likes, Mask]), ChatRoleModule, LikesModule, ChatModule, MaskModule],
    controllers: [MomentsController],
    providers: [MomentsService],
    exports: [MomentsService]
})
export class MomentsModule { }