<commit_before>
/**
 * Module dependencies
 */

var log = require('logule').init(module, 'user')

/**
 * User model
 *
 * @param sequelize
 * @param DataTypes
 * @returns {*}
 */

module.exports = function(sequelize, DataTypes) {

  log.info('importing..');

  return sequelize.define('User', {
    id        : DataTypes.INTEGER,
    balance   : DataTypes.DECIMAL,
    email     : DataTypes.STRING,
    nfcID     : DataTypes.STRING,
    usbSerial : DataTypes.STRING,
    username  : DataTypes.STRING
  }, {
    instanceMethods: {
      // ..
    }
  });
};
<commit_msg>adding stub for withdraw on user model<commit_after>
/**
 * Module dependencies
 */

var log = require('logule').init(module, 'user')

/**
 * User model
 *
 * @param sequelize
 * @param DataTypes
 * @returns {*}
 */

module.exports = function(sequelize, DataTypes) {

  log.info('importing..');

  return sequelize.define('User', {
    id        : DataTypes.INTEGER,
    balance   : DataTypes.DECIMAL,
    email     : DataTypes.STRING,
    nfcID     : DataTypes.STRING,
    usbSerial : DataTypes.STRING,
    username  : DataTypes.STRING
  }, {
    instanceMethods: {
      withdraw : function(amount, fn) {
       //withdraw stub
      }
      // ..
    }
  });
};

{'fraction_non_alphanumeric': 0.14910858995137763, 'fraction_numerical': 0.0, 'mean_word_length': 2.4887005649717513, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1830245', 'n_tokens_mistral': 407, 'n_tokens_neox': 399, 'n_words': 77}