import Model from 'ember-data/model';
import {belongsTo} from 'ember-data/relationships';
import attr from 'ember-data/attr';

export default Model.extend({

  playlist: belongsTo('playlist'),
  artist: attr('string'),
  album: attr('string'),
  title: attr('string'),
  duration: attr('string'),
  
  local: attr('boolean'),
  australian: attr('boolean'),
  female: attr('boolean'),
  newRelease: attr('boolean'),
});

@@ -186,16 +186,43 @@
 list'),%0A
+%0A  index: attr('number'),%0A%0A
   artist

Add index to Ember's PlaylistEntry model.