text: import DS from 'ember-data';
  
  export default DS.Model.extend({
    published: DS.attr('boolean', {
      defaultValue: true
    }),
    highlighted: DS.attr('number', {
      defaultValue: 0
    }),
    showInLists: DS.attr('boolean', {
      defaultValue: true
    }),
    allowComments: DS.attr('boolean', {
      defaultValue: false
    }),
    title: DS.attr('string'),
    about: DS.attr('string'),
    body: DS.attr('string'),
    creator: DS.belongsTo('user', {
      async: true
    }),
    createdAt: DS.attr('date'),
    updatedAt: DS.attr('date'),
    publishedAt: DS.attr('date'),
    category: DS.attr(),
    tags: DS.attr(),
    featuredImage: DS.attr('array'),
    images: DS.attr('array'),
    attachment: DS.attr('array'),
  
    setAlias: DS.attr('string'),
    linkPermanent: DS.attr('string')
  });