import DS from 'ember-data';

export default DS.Model.extend({
  title: DS.attr('string'),
  creatorEmail: DS.attr('string'),
  createdAt: DS.attr('date'),
  snippets: DS.hasMany('snippet')
});

import DS from 'ember-data';

export default DS.Model.extend({
  title: DS.attr('string'),
  creatorEmail: DS.attr('string'),
  createdAt: DS.attr('date'),
  complete: DS.attr('boolean'),
  snippets: DS.hasMany('snippet')
});

Mark each Story as complete or incomplete.
Mark each Story as complete or incomplete.
