1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/web/ synced 2025-03-23 00:00:02 +01:00
VILLASweb/app/models/property.js
2015-10-26 11:22:06 -04:00

15 lines
425 B
JavaScript

import DS from 'ember-data';
export default DS.Model.extend({
name: DS.attr('string'),
type: DS.attr('string'),
values: DS.attr(),
timestamp: DS.attr('date'),
visible: DS.attr('boolean', { defaultValue: false }),
source: DS.attr('string'),
minValue: DS.attr('number'),
maxValue: DS.attr('number'),
currentValue: DS.attr('number'),
entity: DS.belongsTo('entity'),
category: DS.belongsTo('category')
});