You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
1.2 KiB
23 lines
1.2 KiB
from sqlalchemy import Column, Integer, String, DateTime
|
|
from config.database import Base
|
|
from datetime import datetime
|
|
|
|
|
|
class SysCdplb(Base):
|
|
"""
|
|
词典配置表
|
|
"""
|
|
__tablename__ = 't_bath_dict_config'
|
|
|
|
onum = Column(Integer, primary_key=True, autoincrement=True, comment='序号')
|
|
bath_obj_tab_name = Column(String(500), nullable=False, comment='批量对象表名')
|
|
bath_obj_fld_name = Column(String(500), nullable=False, comment='批里对象字段名')
|
|
freq = Column(String(500), nullable=False, comment='频次')
|
|
pos = Column(String(500), nullable=False, comment='词性')
|
|
pos_name = Column(String(500), nullable=False, comment='词性名称')
|
|
status = Column(String(1), nullable=False, default='0', comment='状态(0正常 1停用)')
|
|
create_by = Column(String(64), default='', comment='创建者')
|
|
create_time = Column(DateTime, nullable=True, default=datetime.now(), comment='创建时间')
|
|
update_by = Column(String(64), default='', comment='更新者')
|
|
update_time = Column(DateTime, nullable=True, default=datetime.now(), comment='更新时间')
|
|
remark = Column(String(500), nullable=True, default='', comment='备注')
|