"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.SubscriptionsModule = void 0;
const common_1 = require("@nestjs/common");
const typeorm_1 = require("@nestjs/typeorm");
const subscription_plan_entity_1 = require("../database/entities/subscription-plan.entity");
const subscription_entity_1 = require("../database/entities/subscription.entity");
const business_entity_1 = require("../database/entities/business.entity");
const payment_entity_1 = require("../database/entities/payment.entity");
const transaction_entity_1 = require("../database/entities/transaction.entity");
const router_entity_1 = require("../database/entities/router.entity");
const location_entity_1 = require("../database/entities/location.entity");
const user_entity_1 = require("../database/entities/user.entity");
const customer_entity_1 = require("../database/entities/customer.entity");
const subscriptions_service_1 = require("./subscriptions.service");
const subscriptions_controller_1 = require("./subscriptions.controller");
let SubscriptionsModule = class SubscriptionsModule {
};
exports.SubscriptionsModule = SubscriptionsModule;
exports.SubscriptionsModule = SubscriptionsModule = __decorate([
    (0, common_1.Module)({
        imports: [
            typeorm_1.TypeOrmModule.forFeature([
                subscription_plan_entity_1.SubscriptionPlan,
                subscription_entity_1.Subscription,
                business_entity_1.Business,
                payment_entity_1.Payment,
                transaction_entity_1.Transaction,
                router_entity_1.Router,
                location_entity_1.Location,
                user_entity_1.User,
                customer_entity_1.Customer,
            ]),
        ],
        controllers: [subscriptions_controller_1.SubscriptionsController],
        providers: [subscriptions_service_1.SubscriptionsService],
        exports: [subscriptions_service_1.SubscriptionsService],
    })
], SubscriptionsModule);
