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

15 lines
390 B
JavaScript
Raw Normal View History

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'),
2015-10-12 12:25:14 +02:00
visible: DS.attr('boolean', { defaultValue: false }),
2015-10-14 14:09:43 +02:00
source: DS.attr('string'),
minValue: DS.attr('number'),
maxValue: DS.attr('number'),
2015-10-08 16:04:06 +02:00
entity: DS.belongsTo('entity'),
category: DS.belongsTo('category')
});