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