| 字段 | 类型 | 说明 |
|---|---|---|
| _id | String | 角色 ID。成员接口里成员的 roles 使用这个值 |
| name | String | 角色名称 |
| description | String | 角色描述 |
| mode_id | String | 所属角色模式 ID,对应 references.role_modes._id |
| type | Number | 角色类型。1 系统角色,2 自定义角色 |
| 字段 | 类型 | 说明 |
|---|---|---|
| _id | String | 角色模式 ID |
| name | String | 角色模式名称 |
| description | String | 角色模式描述 |
| is_system | Number | 是否系统角色模式。1 是,0 否 |