import Model from 'ember-data/model';
import attr from 'ember-data/attr';
import injectService from 'ember-service/inject';

export default Model.extend({
  communityService: injectService('community'),

  name: attr('string'),
  game: attr('string'),
  streams: attr('number'),
  viewers: attr('number'),
  banner: attr('string'),
  thumbnail: attr('string'),
  isCommunity: attr('boolean', { defaultValue: false }),
  isPromoted: attr('boolean', { defaultValue: false }),
  promotedChannel: attr('string')
});
