ctc_poc2026/docs/tables/td_dict_item.md

9 lines
1.0 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

|字段名称|字段类型|中文说明|注释|是否为主键|
|---|---|---|---|---|
|dict_type|varchar(64) NOT NULL|字典类型编码,如 data_type、operator_name、network_class、scene_type 等|字典类型编码,如 data_type、operator_name、network_class、scene_type 等|是|
|dict_code|varchar(64) NOT NULL|字典项编码|字典项编码|是|
|dict_name|varchar(128) NOT NULL|字典项名称(用于前端展示)|字典项名称(用于前端展示)|否|
|dict_desc|text|字典项描述/补充说明;初始化字典中同类型记录可统一保存字典类型名称,供 /api/common/dict/types 返回|字典项描述/补充说明;初始化字典中同类型记录可统一保存字典类型名称,供 /api/common/dict/types 返回|否|
|sort_no|integer NOT NULL DEFAULT 0|同类型下的排序号|同类型下的排序号|否|
|is_valid|smallint NOT NULL DEFAULT 1|是否有效1=有效 0=无效|是否有效1=有效 0=无效|否|
|updated_time|timestamp without time zone NOT NULL DEFAULT now()|记录更新时间|记录更新时间|否|