2019-10-07 20:56:30 +00:00
|
|
|
import { Model } from '@nozbe/watermelondb';
|
|
|
|
import { field } from '@nozbe/watermelondb/decorators';
|
|
|
|
|
2022-02-28 18:00:47 +00:00
|
|
|
export const ROLES_TABLE = 'roles';
|
|
|
|
|
2019-10-07 20:56:30 +00:00
|
|
|
export default class Role extends Model {
|
2022-02-28 18:00:47 +00:00
|
|
|
static table = ROLES_TABLE;
|
2019-10-07 20:56:30 +00:00
|
|
|
|
|
|
|
@field('description') description;
|
|
|
|
}
|