diff --git a/backend/app/models/models.py b/backend/app/models/models.py index 63fec367..fe6ad256 100644 --- a/backend/app/models/models.py +++ b/backend/app/models/models.py @@ -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"""