"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.BusinessModule = void 0;
const common_1 = require("@nestjs/common");
const typeorm_1 = require("@nestjs/typeorm");
const business_entity_1 = require("../database/entities/business.entity");
const business_settings_entity_1 = require("../database/entities/business-settings.entity");
const user_entity_1 = require("../database/entities/user.entity");
const role_entity_1 = require("../database/entities/role.entity");
const location_entity_1 = require("../database/entities/location.entity");
const router_entity_1 = require("../database/entities/router.entity");
const payment_entity_1 = require("../database/entities/payment.entity");
const wifi_session_entity_1 = require("../database/entities/wifi-session.entity");
const customer_entity_1 = require("../database/entities/customer.entity");
const package_entity_1 = require("../database/entities/package.entity");
const audit_log_entity_1 = require("../database/entities/audit-log.entity");
const business_service_1 = require("./business.service");
const business_controller_1 = require("./business.controller");
let BusinessModule = class BusinessModule {
};
exports.BusinessModule = BusinessModule;
exports.BusinessModule = BusinessModule = __decorate([
    (0, common_1.Module)({
        imports: [
            typeorm_1.TypeOrmModule.forFeature([
                business_entity_1.Business,
                business_settings_entity_1.BusinessSettings,
                user_entity_1.User,
                role_entity_1.Role,
                location_entity_1.Location,
                router_entity_1.Router,
                payment_entity_1.Payment,
                wifi_session_entity_1.WifiSession,
                customer_entity_1.Customer,
                package_entity_1.Package,
                audit_log_entity_1.AuditLog,
            ]),
        ],
        controllers: [business_controller_1.BusinessController],
        providers: [business_service_1.BusinessService],
        exports: [business_service_1.BusinessService],
    })
], BusinessModule);
