2017-10-18 17:36:24 +00:00
|
|
|
import Ember from 'ember';
|
2017-10-07 01:27:36 +00:00
|
|
|
import Model from 'ember-data/model';
|
|
|
|
import attr from 'ember-data/attr';
|
|
|
|
|
2017-10-18 17:36:24 +00:00
|
|
|
const { computed } = Ember;
|
|
|
|
|
2017-10-07 01:27:36 +00:00
|
|
|
export default Model.extend({
|
2017-10-18 17:36:24 +00:00
|
|
|
name: computed.readOnly('id'),
|
2017-10-07 01:27:36 +00:00
|
|
|
hash: attr('string'),
|
|
|
|
description: attr('string'),
|
|
|
|
});
|