feat(backend): add BizCollectionRegionStaff model

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
zlwuandCursor committed 2026-09-18 11:21:41 +08:00
1 parent 0be6545078
commit 5d456a8696
1 file changed
+20
+20
View File
@@ -407,6 +407,26 @@ class BizCollectionHospital(Base):
del_flag = Column(SmallInteger, nullable=False, default=0, comment="删除标记")
class BizCollectionRegionStaff(Base):
"""采集地区工作人员 biz_collection_region_staff"""
__tablename__ = "biz_collection_region_staff"
id = Column(String(64), primary_key=True, comment="主键ID")
region_id = Column(String(64), nullable=False, comment="采集地区ID")
user_id = Column(String(64), nullable=False, comment="系统用户ID")
is_leader = Column(SmallInteger, nullable=False, default=0, comment="是否地区负责人 1是0否")
tenant_no = Column(String(64), nullable=False, default="zkxw", comment="租户编号")
order_num = Column(Integer, nullable=True, comment="排序号")
remark = Column(String(512), nullable=True, comment="备注")
create_by = Column(String(64), nullable=True, comment="创建人id")
create_dept_id = Column(String(64), nullable=False, default="", comment="创建人部门ID")
create_time = Column(DateTime, nullable=False, default=datetime.now, comment="创建时间")
update_by = Column(String(64), nullable=True, comment="更新人id")
update_time = Column(DateTime, nullable=False, default=datetime.now, onupdate=datetime.now, comment="更新时间")
del_flag = Column(SmallInteger, nullable=False, default=0, comment="删除标记")
class BizCollectionProtocolNo(Base):
"""采集协议号池 biz_collection_protocol_no"""