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/plot.js
Markus Grigull 15d29d23b2 Add jQuery UI
Add resizeable, droppable and draggable mixins
Add API_HOST in environment.js
2016-07-15 12:09:31 +02:00

15 lines
469 B
JavaScript

import Model from 'ember-data/model';
import attr from 'ember-data/attr';
import { belongsTo } from 'ember-data/relationships';
export default Model.extend({
name: attr('string'),
signal: attr('string'),
width: attr('number', { defaultValue: 100 }),
height: attr('number', { defaultValue: 100 }),
title: attr('string'),
type: attr('string'),
row: attr('number'),
column: attr('number'),
visualization: belongsTo('Visualization', { async: true })
});