forked from wangziqi/gongxue-base
feat: 增加宿舍查寝功能
This commit is contained in:
@@ -5,14 +5,28 @@ import { Occupancy } from '../entities/occupancy.entity';
|
||||
import { RoomExpense } from '../entities/room-expense.entity';
|
||||
import { Bed } from '../entities/bed.entity';
|
||||
import { Locker } from '../entities/locker.entity';
|
||||
import { RoomInspection } from '../entities/room-inspection.entity';
|
||||
import { RoomInspectionDetail } from '../entities/room-inspection-detail.entity';
|
||||
import { RoomsService } from './rooms.service';
|
||||
import { RoomsController } from './rooms.controller';
|
||||
import { OperationLogsModule } from '../operation-logs/operation-logs.module';
|
||||
import { RoomInspectionsService } from './room-inspections.service';
|
||||
|
||||
@Module({
|
||||
imports: [TypeOrmModule.forFeature([Room, Occupancy, RoomExpense, Bed, Locker]), OperationLogsModule],
|
||||
imports: [
|
||||
TypeOrmModule.forFeature([
|
||||
Room,
|
||||
Occupancy,
|
||||
RoomExpense,
|
||||
Bed,
|
||||
Locker,
|
||||
RoomInspection,
|
||||
RoomInspectionDetail,
|
||||
]),
|
||||
OperationLogsModule,
|
||||
],
|
||||
controllers: [RoomsController],
|
||||
providers: [RoomsService],
|
||||
exports: [RoomsService],
|
||||
providers: [RoomsService, RoomInspectionsService],
|
||||
exports: [RoomsService, RoomInspectionsService],
|
||||
})
|
||||
export class RoomsModule {}
|
||||
|
||||
Reference in New Issue
Block a user