framework/js/lib/models/group.js

12 lines
329 B
JavaScript
Raw Normal View History

2015-04-25 20:58:39 +08:00
import Model from 'flarum/model';
class Group extends Model {}
Group.prototype.id = Model.prop('id');
2015-05-06 09:55:19 +08:00
Group.prototype.nameSingular = Model.prop('nameSingular');
Group.prototype.namePlural = Model.prop('namePlural');
Group.prototype.color = Model.prop('color');
Group.prototype.icon = Model.prop('icon');
2015-04-25 20:58:39 +08:00
export default Group;