7. 组角色表
组角色表(TGroupRoleRelation) | |||
字段名称 | 字段 | 类型 | 备注 |
记录标识 | tgr_id | bigint | pk, not null |
组 | tg_id | bigint | fk, not null |
角色 | tr_id | bigint | pk, not null |
8. 用户权限表
用户权限表(TUserRightRelation) | |||
字段名称 | 字段 | 类型 | 备注 |
记录标识 | tur_id | bigint | pk, not null |
用户 | tu_id | bigint | fk, not null |
权限 | tr_id | bigint | fk, not null |
权限类型 | right_type | int | not null(0:可访问,1:可授权) |
9. 用户角色表
用户角色表(TUserRoleRelation) | |||
字段名称 | 字段 | 类型 | 备注 |
记录标识 | tur_id | bigint | pk, not null |
用户 | tu_id | bigint | fk, not null |
角色 | tr_id | bigint | fk, not null |
10. 用户组表
用户组表(TUserGroupRelation) | |||
字段名称 | 字段 | 类型 | 备注 |
记录标识 | tug_id | bigint | pk, not null |
用户 | tu_id | bigint | fk, not null |
组 | tg_id | bigint | fk, not null |
11. 组织表
组织表(TOrganization) | |||
字段名称 | 字段 | 类型 | 备注 |
组织id | to_id | bigint | pk, not null |
父组 | parent_to_id | bigint | not null |
组织名称 | org_name | varchar(64) | not null |
创建时间 | gen_time | datetime | not null |
组织描述 | description | varchar(200) |
12. 操作日志表
操作日志表(TLog) | |||
字段名称 | 字段 | 类型 | 备注 |
日志ID | log_id | bigint | pk, not null |
操作类型 | op_type | int | not null |
操作内容 | content | varchar(200) | not null |
操作人 | tu_id | bigint | fk, not null |
操作时间 | gen_time | datetime | not null |
责任编辑:小草