mirror of
https://github.com/flarum/framework.git
synced 2024-11-27 02:53:37 +08:00
11 lines
152 B
JavaScript
11 lines
152 B
JavaScript
|
import Ember from 'ember';
|
||
|
import DS from 'ember-data';
|
||
|
|
||
|
export default DS.Model.extend({
|
||
|
|
||
|
name: DS.attr('string'),
|
||
|
|
||
|
users: DS.hasMany('group'),
|
||
|
|
||
|
});
|