Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 | import Model, { attr } from '@ember-data/model';
/**
Provides Ember model definition for a portfolio entry.
@module PortfolioEntryModel
@extends DS.Model
*/
export default class PortfolioEntryModel extends Model {
/**
Portfolio image URL.
@property image
@type {String}
*/
@attr('string') image;
/**
Collection of URL/label pairs for related links.
@property links
@type {Array<Object>}
*/
@attr() links;
/**
Portfolio entry description.
@property summary
@type {String}
*/
@attr('string') summary;
/**
Portfolio entry title.
@property summary
@type {String}
*/
@attr('string') title;
}
|