"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.FeesModule = void 0;
const common_1 = require("@nestjs/common");
const mongoose_1 = require("@nestjs/mongoose");
const fees_controller_1 = require("./fees.controller");
const fees_service_1 = require("./fees.service");
const fee_structure_schema_1 = require("./schemas/fee-structure.schema");
const fee_assignment_schema_1 = require("./schemas/fee-assignment.schema");
const fee_payment_schema_1 = require("./schemas/fee-payment.schema");
const student_schema_1 = require("../students/schemas/student.schema");
const academic_year_schema_1 = require("../academic-year/academic-year.schema");
const invoices_module_1 = require("../invoices/invoices.module");
let FeesModule = class FeesModule {
};
exports.FeesModule = FeesModule;
exports.FeesModule = FeesModule = __decorate([
    (0, common_1.Module)({
        imports: [
            mongoose_1.MongooseModule.forFeature([
                { name: fee_structure_schema_1.FeeStructure.name, schema: fee_structure_schema_1.FeeStructureSchema },
                { name: fee_assignment_schema_1.FeeAssignment.name, schema: fee_assignment_schema_1.FeeAssignmentSchema },
                { name: fee_payment_schema_1.FeePayment.name, schema: fee_payment_schema_1.FeePaymentSchema },
                { name: student_schema_1.Student.name, schema: student_schema_1.StudentSchema },
                { name: academic_year_schema_1.AcademicYear.name, schema: academic_year_schema_1.AcademicYearSchema },
            ]),
            invoices_module_1.InvoicesModule,
        ],
        controllers: [fees_controller_1.FeesController],
        providers: [fees_service_1.FeesService],
        exports: [fees_service_1.FeesService],
    })
], FeesModule);
//# sourceMappingURL=fees.module.js.map