"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.BaseMapper = void 0;
class BaseMapper {
    toShortDtoList(entities) {
        return entities.map(entity => this.toShortDto(entity));
    }
    toDetailDtoList(entities) {
        return entities.map(entity => this.toDetailDto(entity));
    }
    static toShortDtoListStatic(entities, mapperFn) {
        return entities.map(mapperFn);
    }
}
exports.BaseMapper = BaseMapper;
//# sourceMappingURL=BaseMapper.js.map