{"size": 522, "ext": "js", "max_stars_repo_path": "common/models/billing.js", "max_stars_repo_name": "sonicglue/integradora-de-medios", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "common/models/billing.js", "max_issues_repo_name": "sonicglue/integradora-de-medios", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "common/models/billing.js", "max_forks_repo_name": "sonicglue/integradora-de-medios", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 24.8571428571, "max_line_length": 60, "alphanum_fraction": 0.601532567}
'use strict';

module.exports = function(Billing) {
  // TODO: implementar código del modelo

  /**
   * @name getClients
   * @description Recupera los datos de los usuarios client.
   * @param {function} done Función de callback.
   */
    Billing.getClients = function(done) {
      let filter = { where: {class: 'client'}};
      Billing.find(filter, (err, users) => {
        if (err) return done(err);
        console.log("Lista de clientes", users);
        done(null, users);
      });
    };// End getClients

};
