Files
ember-panda/app/models/panda/project-instance-group.coffee
2017-12-21 11:51:55 +01:00

11 lines
535 B
CoffeeScript

import DS from 'ember-data'
export default DS.Model.extend
state: DS.attr('string', defaultValue: 'pending')
notes: DS.attr('string')
project: DS.belongsTo('panda/project', inverse: 'project_instance_groups')
project_instance: DS.belongsTo('panda/project-instance', inverse: 'project_instance_groups')
workflow_group: DS.belongsTo('panda/workflow-group')
project_instance_actions: DS.hasMany( 'panda/project-instance-action', inverse: 'project_instance_group' )