"use strict";
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
    if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
    return c > 3 && r && Object.defineProperty(target, key, r), r;
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.LocationsModule = void 0;
const common_1 = require("@nestjs/common");
const typeorm_1 = require("@nestjs/typeorm");
const location_entity_1 = require("../database/entities/location.entity");
const router_entity_1 = require("../database/entities/router.entity");
const business_entity_1 = require("../database/entities/business.entity");
const package_router_assignment_entity_1 = require("../database/entities/package-router-assignment.entity");
const audit_log_entity_1 = require("../database/entities/audit-log.entity");
const wifi_session_entity_1 = require("../database/entities/wifi-session.entity");
const payment_entity_1 = require("../database/entities/payment.entity");
const locations_service_1 = require("./locations.service");
const locations_controller_1 = require("./locations.controller");
let LocationsModule = class LocationsModule {
};
exports.LocationsModule = LocationsModule;
exports.LocationsModule = LocationsModule = __decorate([
    (0, common_1.Module)({
        imports: [
            typeorm_1.TypeOrmModule.forFeature([
                location_entity_1.Location,
                router_entity_1.Router,
                business_entity_1.Business,
                package_router_assignment_entity_1.PackageRouterAssignment,
                audit_log_entity_1.AuditLog,
                wifi_session_entity_1.WifiSession,
                payment_entity_1.Payment,
            ]),
        ],
        controllers: [locations_controller_1.LocationsController],
        providers: [locations_service_1.LocationsService],
        exports: [locations_service_1.LocationsService],
    })
], LocationsModule);
