{"size": 379, "ext": "js", "max_stars_repo_path": "tests/dummy/app/models/project.js", "max_stars_repo_name": "sduquej/ember-data-factory-guy", "max_stars_repo_stars_event_min_datetime": "2019-06-05T20:50:44.000Z", "max_stars_repo_stars_event_max_datetime": "2019-06-05T20:50:45.000Z", "max_issues_repo_path": "tests/dummy/app/models/project.js", "max_issues_repo_name": "sduquej/ember-data-factory-guy", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "tests/dummy/app/models/project.js", "max_forks_repo_name": "sduquej/ember-data-factory-guy", "max_forks_repo_forks_event_min_datetime": "2021-01-29T11:24:11.000Z", "max_forks_repo_forks_event_max_datetime": "2021-01-29T11:24:11.000Z"}
{"max_stars_count": 2, "max_issues_count": null, "max_forks_count": 1, "avg_line_length": 34.4545454545, "max_line_length": 70, "alphanum_fraction": 0.691292876}
import Model from 'ember-data/model';
import attr from 'ember-data/attr';
import {hasMany, belongsTo} from 'ember-data/relationships';

export default Model.extend({
  title: attr('string'),
  user: belongsTo('user', { async: false }),
  parent: belongsTo('project', { async: false, inverse: 'children' }),
  children: hasMany('project', { async: false, inverse: 'parent' })
});
