mirror of
https://github.com/flarum/framework.git
synced 2024-11-29 04:33:47 +08:00
17 lines
362 B
JavaScript
17 lines
362 B
JavaScript
import Model from 'flarum/Model';
|
|
|
|
class Group extends Model {}
|
|
|
|
Object.assign(Group.prototype, {
|
|
nameSingular: Model.attribute('nameSingular'),
|
|
namePlural: Model.attribute('namePlural'),
|
|
color: Model.attribute('color'),
|
|
icon: Model.attribute('icon')
|
|
});
|
|
|
|
Group.ADMINISTRATOR_ID = '1';
|
|
Group.GUEST_ID = '2';
|
|
Group.MEMBER_ID = '3';
|
|
|
|
export default Group;
|