{"size": 490, "ext": "js", "max_stars_repo_path": "back/models/Settings.js", "max_stars_repo_name": "wgomg/ib-nodereact", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "back/models/Settings.js", "max_issues_repo_name": "wgomg/ib-nodereact", "max_issues_repo_issues_event_min_datetime": "2021-09-02T17:48:49.000Z", "max_issues_repo_issues_event_max_datetime": "2021-09-02T17:48:49.000Z", "max_forks_repo_path": "back/models/Settings.js", "max_forks_repo_name": "wgomg/ib-nodereact", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": 1, "max_forks_count": null, "avg_line_length": 18.1481481481, "max_line_length": 56, "alphanum_fraction": 0.5795918367}
'use strict';

const BaseModel = require('./BaseModel');

function Settings() {
  BaseModel.call(this, {
    name: {
      type: 'string',
      regex: '^([a-zA-Z_])',
      minlength: 3,
      maxlength: 25,
      required: true
    },
    value: {
      type: 'string',
      regex: '^([a-zA-Z0-9_])',
      maxlength: 100,
      required: true
    }
  });
}

Settings.prototype = Object.create(BaseModel.prototype);
Settings.prototype.constructor = Settings;

module.exports = Settings;
