{"size": 880, "ext": "js", "max_stars_repo_path": "lib/models/tgi-core-model-user.source.js", "max_stars_repo_name": "tgi-io/tgi-core", "max_stars_repo_stars_event_min_datetime": "2015-01-09T23:04:43.000Z", "max_stars_repo_stars_event_max_datetime": "2015-01-09T23:04:43.000Z", "max_issues_repo_path": "lib/models/tgi-core-model-user.source.js", "max_issues_repo_name": "tgi-io/tgi-core", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "lib/models/tgi-core-model-user.source.js", "max_forks_repo_name": "tgi-io/tgi-core", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": 1, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 38.2608695652, "max_line_length": 81, "alphanum_fraction": 0.6659090909}
/**
 * tequila
 * user-core-model
 */
// Model Constructor
var User = function (args) {
  if (false === (this instanceof User)) throw new Error('new operator required');
  args = args || {};
  if (!args.attributes) {
    args.attributes = [];
  }
  args.attributes.push(new Attribute({name: 'name', type: 'String(20)'}));
  args.attributes.push(new Attribute({name: 'active', type: 'Boolean'}));
  args.attributes.push(new Attribute({name: 'password', type: 'String(20)'}));
  args.attributes.push(new Attribute({name: 'firstName', type: 'String(35)'}));
  args.attributes.push(new Attribute({name: 'lastName', type: 'String(35)'}));
  args.attributes.push(new Attribute({name: 'email', type: 'String(20)'}));
  Model.call(this, args);
  this.modelType = "User";
  this.set('active', false);
};
User.prototype = Object.create(Model.prototype);
Model._ModelConstructor.User = User;