updated Payment service

This commit is contained in:
2025-06-30 21:34:16 +03:00
parent 5c640ddcee
commit 88afa6b329
55 changed files with 6860 additions and 130 deletions

View File

@@ -231,28 +231,18 @@ class CrudCollection(CrudMixin):
__repr__ = ReprMixin.__repr__
# Outer reference fields
ref_id: Mapped[str] = mapped_column(
String(100), nullable=True, index=True, comment="External reference ID"
)
replication_id: Mapped[int] = mapped_column(
SmallInteger, server_default="0", comment="Replication identifier"
)
ref_int: Mapped[int] = mapped_column(Integer, nullable=True, index=True, comment="External reference ID")
ref_id: Mapped[str] = mapped_column(String(100), nullable=True, index=True, comment="External reference UUID")
replication_id: Mapped[int] = mapped_column(SmallInteger, server_default="0", comment="Replication identifier")
# Cryptographic and user tracking
cryp_uu_id: Mapped[str] = mapped_column(
String, nullable=True, index=True, comment="Cryptographic UUID"
)
cryp_uu_id: Mapped[str] = mapped_column(String, nullable=True, index=True, comment="Cryptographic UUID")
# Token fields of modification
created_credentials_token: Mapped[str] = mapped_column(
String, nullable=True, comment="Created Credentials token"
)
updated_credentials_token: Mapped[str] = mapped_column(
String, nullable=True, comment="Updated Credentials token"
)
confirmed_credentials_token: Mapped[str] = mapped_column(
String, nullable=True, comment="Confirmed Credentials token"
)
created_credentials_token: Mapped[str] = mapped_column(String, nullable=True, comment="Created Credentials token")
updated_credentials_token: Mapped[str] = mapped_column(String, nullable=True, comment="Updated Credentials token")
confirmed_credentials_token: Mapped[str] = mapped_column(String, nullable=True, comment="Confirmed Credentials token")
# Status flags
is_confirmed: Mapped[bool] = mapped_column(