Newer
Older
/**
* All models which represent data structures for API interaction.
* Uses EmberData
* @module models
*/
import Model from 'ember-data/model';
import attr from 'ember-data/attr';
/**
* Model for a system which encapsulates all other models
* @class BaseEntity
* @extends DS.Model
* @public
*/
export default Model.extend({
// id: attr('string') - not allowed to be listed by ember
/**
* id of the system this entity is contained in
*
* @property systemId
* @type {String}
* @public
*/
/**
* a unique type identifier, see API documentation
*
* @property type
* @type {String}
* @public
* @readonly
*/
/**
* the revisionNumber in which this object was created or updated from the ChangelogParser
*
* @property revisionNumber
* @type {Number}
* @public
*/
/**
* the changelogSequence in which this object was created or updated from the ChangelogParser
*
* @property changelogSequence
* @type {Number}
* @public
*/
/**
* the date in which this object was created or updated from the ChangelogParser
*
* @property lastUpdate
* @type {Date}
* @public
* @readonly
*/