"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.SupplierProductModule = void 0;
const common_1 = require("@nestjs/common");
const typeorm_1 = require("@nestjs/typeorm");
const supplier_product_entity_1 = require("../entities/supplier-product.entity");
const supplier_product_service_1 = require("./supplier-product.service");
const supplier_product_controller_1 = require("./supplier-product.controller");
const supplier_entity_1 = require("../entities/supplier.entity");
const product_entity_1 = require("../entities/product.entity");
const supplier_product_restock_log_entity_1 = require("../entities/supplier-product-restock-log.entity");
const stock_module_1 = require("../stock/stock.module");
const size_entity_1 = require("../entities/size.entity");
const supplier_product_size_entity_1 = require("../entities/supplier-product-size.entity");
const color_entity_1 = require("../entities/color.entity");
let SupplierProductModule = class SupplierProductModule {
};
exports.SupplierProductModule = SupplierProductModule;
exports.SupplierProductModule = SupplierProductModule = __decorate([
    (0, common_1.Module)({
        imports: [
            typeorm_1.TypeOrmModule.forFeature([
                supplier_product_entity_1.SupplierProduct,
                supplier_entity_1.Supplier,
                product_entity_1.Product,
                supplier_product_restock_log_entity_1.SupplierProductRestockLog,
                size_entity_1.Size,
                supplier_product_size_entity_1.SupplierProductSize,
                color_entity_1.Color,
            ]),
            stock_module_1.StockModule,
        ],
        providers: [supplier_product_service_1.SupplierProductService],
        controllers: [supplier_product_controller_1.SupplierProductController],
        exports: [supplier_product_service_1.SupplierProductService],
    })
], SupplierProductModule);
//# sourceMappingURL=supplier-product.module.js.map