import { Module } from '@nestjs/common'
import { UserBalanceService } from './user-balance.service'
import { UserBalanceController } from './user-balance.controller'
import { TypeOrmModule } from '@nestjs/typeorm'
import { UserBalance } from './entities/user-balance.entity'
import { BalanceRecord } from './entities/balance-record.entity'
import { UserBalanceAdminController } from './user-balance.admin.controller'

@Module({
    imports: [TypeOrmModule.forFeature([UserBalance, BalanceRecord])],
    providers: [UserBalanceService],
    controllers: [UserBalanceController, UserBalanceAdminController],
    exports: [UserBalanceService]
})
export class UserBalanceModule {}
