forked from wangziqi/gongxue-base
Squash merge PR #23. Included changes: - complete occupancy check-in required fields/default payload - improve responsive admin management pages - fix attendance edge cases and attendance period config - refine wallet/finance-related workflow handling Checks: - npm run typecheck -w apps/admin - npm run typecheck -w apps/server
20 lines
897 B
TypeScript
20 lines
897 B
TypeScript
import { Module } from '@nestjs/common';
|
|
import { TypeOrmModule } from '@nestjs/typeorm';
|
|
import { Bill } from '../entities/bill.entity';
|
|
import { Student } from '../entities/student.entity';
|
|
import { StudentWallet } from '../entities/student-wallet.entity';
|
|
import { WalletTransaction } from '../entities/wallet-transaction.entity';
|
|
import { Room } from '../entities/room.entity';
|
|
import { Occupancy } from '../entities/occupancy.entity';
|
|
import { OperationLogsModule } from '../operation-logs/operation-logs.module';
|
|
import { WalletsController } from './wallets.controller';
|
|
import { WalletsService } from './wallets.service';
|
|
|
|
@Module({
|
|
imports: [TypeOrmModule.forFeature([StudentWallet, WalletTransaction, Student, Bill, Room, Occupancy]), OperationLogsModule],
|
|
controllers: [WalletsController],
|
|
providers: [WalletsService],
|
|
exports: [WalletsService],
|
|
})
|
|
export class WalletsModule {}
|