mirror of
https://github.com/flarum/framework.git
synced 2024-12-03 07:33:36 +08:00
12 lines
329 B
JavaScript
12 lines
329 B
JavaScript
import Model from 'flarum/model';
|
|
|
|
class Group extends Model {}
|
|
|
|
Group.prototype.id = Model.prop('id');
|
|
Group.prototype.nameSingular = Model.prop('nameSingular');
|
|
Group.prototype.namePlural = Model.prop('namePlural');
|
|
Group.prototype.color = Model.prop('color');
|
|
Group.prototype.icon = Model.prop('icon');
|
|
|
|
export default Group;
|