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-14 15:50:59 +02:00

14 lines
390 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'),
entity: DS.belongsTo('entity'),
category: DS.belongsTo('category')
});