"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.CompaniesService = void 0;
const Company_model_1 = require("../models/Company.model");
class CompaniesService {
    async getCompanies() {
        return Company_model_1.Company
            .find({ isDeleted: { $ne: true } })
            .sort({ order: 1, name: 1 })
            .lean()
            .exec();
    }
}
exports.CompaniesService = CompaniesService;
