2018-06-20 11:50:31 +08:00
|
|
|
import Model from '../Model';
|
2015-07-15 12:30:11 +08:00
|
|
|
|
2015-10-13 14:27:18 +08:00
|
|
|
class Group extends Model {}
|
|
|
|
|
|
|
|
Object.assign(Group.prototype, {
|
2015-07-15 12:30:11 +08:00
|
|
|
nameSingular: Model.attribute('nameSingular'),
|
|
|
|
namePlural: Model.attribute('namePlural'),
|
|
|
|
color: Model.attribute('color'),
|
2020-04-17 17:57:55 +08:00
|
|
|
icon: Model.attribute('icon'),
|
2015-10-13 14:27:18 +08:00
|
|
|
});
|
2015-04-25 20:58:39 +08:00
|
|
|
|
2015-07-31 18:46:47 +08:00
|
|
|
Group.ADMINISTRATOR_ID = '1';
|
|
|
|
Group.GUEST_ID = '2';
|
|
|
|
Group.MEMBER_ID = '3';
|
2015-07-08 09:21:16 +08:00
|
|
|
|
2015-04-25 20:58:39 +08:00
|
|
|
export default Group;
|