"use strict";
// import {inject} from '@loopback/core';
// import {DefaultCrudRepository} from '@loopback/repository';
// import {DblelloDataSource} from '../datasources';
// import {AdsManagement, AdsManagementRelations} from '../models';
Object.defineProperty(exports, "__esModule", { value: true });
exports.AdsManagementRepository = void 0;
const tslib_1 = require("tslib");
// export class AdsManagementRepository extends DefaultCrudRepository<
//   AdsManagement,
//   typeof AdsManagement.prototype.adsId,
//   AdsManagementRelations
// > {
//   constructor(
//     @inject('datasources.dblello') dataSource: DblelloDataSource,
//   ) {
//     super(AdsManagement, dataSource);
//   }
// }
const core_1 = require("@loopback/core");
const repository_1 = require("@loopback/repository");
const datasources_1 = require("../datasources");
const models_1 = require("../models");
let AdsManagementRepository = class AdsManagementRepository extends repository_1.DefaultCrudRepository {
    constructor(dataSource, adsTypeMasterRepositoryGetter) {
        super(models_1.AdsManagement, dataSource);
        this.adsTypeMasterRepositoryGetter = adsTypeMasterRepositoryGetter;
        this.adsType = this.createBelongsToAccessorFor('adsType', adsTypeMasterRepositoryGetter);
        this.registerInclusionResolver('adsType', this.adsType.inclusionResolver);
    }
};
exports.AdsManagementRepository = AdsManagementRepository;
exports.AdsManagementRepository = AdsManagementRepository = tslib_1.__decorate([
    tslib_1.__param(0, (0, core_1.inject)('datasources.dblello')),
    tslib_1.__param(1, repository_1.repository.getter('AdsTypeMasterRepository')),
    tslib_1.__metadata("design:paramtypes", [datasources_1.DblelloDataSource, Function])
], AdsManagementRepository);
//# sourceMappingURL=ads-management.repository.js.map