feat(backend): add OaReceiveAccount model.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
zlwuandCursor committed 2026-07-30 13:38:42 +08:00
1 parent 9f796a7b96
commit 64fb25d3f6
1 file changed
+24
+24
View File
@@ -843,6 +843,30 @@ class OaRoleUser(Base):
del_flag = Column(SmallInteger, nullable=False, default=0, comment="删除标记")
class OaReceiveAccount(Base):
"""OA收款账户 oa_receive_account"""
__tablename__ = "oa_receive_account"
id = Column(String(64), primary_key=True, comment="主键ID")
account_type = Column(String(16), nullable=False, comment="alipay/personal/corporate")
account_name = Column(String(128), nullable=False, comment="户名")
account_no = Column(String(128), nullable=False, comment="账号")
bank_name = Column(String(128), nullable=True, comment="银行")
bank_province = Column(String(64), nullable=True, comment="省")
bank_city = Column(String(64), nullable=True, comment="市")
bank_branch = Column(String(256), nullable=True, comment="支行")
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 OaInstance(Base):
"""OA审批实例 oa_instance"""