模型类
This commit is contained in:
@@ -8,11 +8,11 @@ class CodeValue(Base):
|
||||
|
||||
__tablename__ = "wl_code_value"
|
||||
|
||||
id = Column(Integer, primary_key=True, autoincrement=True)
|
||||
code = Column(String(50))
|
||||
meaning = Column(String(200))
|
||||
type = Column(String(100))
|
||||
is_enabled = Column(Boolean)
|
||||
created_at = Column(DateTime)
|
||||
updated_at = Column(DateTime)
|
||||
is_deleted = Column(default=False, nullable=False)
|
||||
id = Column(Integer, primary_key=True, autoincrement=True, comment="id")
|
||||
code = Column(String(50), comment="编码")
|
||||
meaning = Column(String(200), comment="意义")
|
||||
type = Column(String(100), comment="类型")
|
||||
is_enabled = Column(Boolean, comment="状态(是否可用)")
|
||||
created_at = Column(DateTime, comment="数据创建时间")
|
||||
updated_at = Column(DateTime, comment="数据更新时间")
|
||||
is_deleted = Column(default=False, nullable=False, comment="逻辑删除字段")
|
||||
|
||||
Reference in New Issue
Block a user