mirror of
https://github.com/fastapi-practices/fastapi_best_architecture.git
synced 2026-03-13 09:31:31 +08:00
Update dict data label column config (#684)
This commit is contained in:
@@ -21,7 +21,7 @@ class DictData(Base):
|
||||
__tablename__ = 'sys_dict_data'
|
||||
|
||||
id: Mapped[id_key] = mapped_column(init=False)
|
||||
label: Mapped[str] = mapped_column(String(32), unique=True, comment='字典标签')
|
||||
label: Mapped[str] = mapped_column(String(32), comment='字典标签')
|
||||
value: Mapped[str] = mapped_column(String(32), comment='字典值')
|
||||
sort: Mapped[int] = mapped_column(default=0, comment='排序')
|
||||
status: Mapped[int] = mapped_column(default=1, comment='状态(0停用 1正常)')
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
[plugin]
|
||||
summary = '数据字典'
|
||||
version = '0.0.2'
|
||||
version = '0.0.3'
|
||||
description = '通常用于约束前端工程数据展示'
|
||||
author = 'wu-clan'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user