"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.DriverModule = void 0;
const common_1 = require("@nestjs/common");
const typeorm_1 = require("@nestjs/typeorm");
const admin_driver_controller_1 = require("../../adminapi/driver/admin.driver.controller");
const admin_driver_service_1 = require("../../adminapi/driver/admin.driver.service");
const driver_controller_1 = require("../../appapi/driver/driver.controller");
const driver_service_1 = require("../../appapi/driver/driver.service");
const user_entity_1 = require("../vendor/user.entity");
const driver_entity_1 = require("./driver.entity");
const driver_status_history_entity_1 = require("./driver-status-history.entity");
const payment_entity_1 = require("../payment/payment.entity");
const driver_review_entity_1 = require("../driverreview/driver-review.entity");
let DriverModule = class DriverModule {
};
exports.DriverModule = DriverModule;
exports.DriverModule = DriverModule = __decorate([
    (0, common_1.Module)({
        imports: [typeorm_1.TypeOrmModule.forFeature([user_entity_1.User, driver_entity_1.Driver, driver_status_history_entity_1.DriverStatusHistory, payment_entity_1.Payment, driver_review_entity_1.DriverReview])],
        controllers: [admin_driver_controller_1.AdminDriverController, driver_controller_1.DriverController],
        providers: [admin_driver_service_1.AdminDriverService, driver_service_1.DriverService],
        exports: [admin_driver_service_1.AdminDriverService],
    })
], DriverModule);
//# sourceMappingURL=driver.module.js.map