framework/ember/app/models/group.js

10 lines
125 B
JavaScript
Raw Normal View History

2014-12-20 14:26:46 +08:00
import DS from 'ember-data';
export default DS.Model.extend({
name: DS.attr('string'),
users: DS.hasMany('group'),
});