511 B
511 B
字典表管理
数据表结构
| name | type | null | default | index | comment |
|---|---|---|---|---|---|
| id | bigint unsigned | notnull | - | primary, auto_increment | 主键 |
| key | varchar(191) | notnull | - | unique | - |
| value | string(191) | nullable | - | - | - |
| sort | int unsigned | - | 0 | - | 排序(asc) |
| parent_id | bigint unsigned | notnull | 0 | - | 上级id |
| type_key | string(191) | nullable | - | - | 上级的key |
| level | int unsigned | - | 1 | - | 所属层级 |