feat: Konto-Saldo-Anker mit ankerbasierter Saldenrechnung
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
@@ -16,6 +16,12 @@ class Account(Base):
|
||||
iban: Mapped[str] = mapped_column(String(34), unique=True)
|
||||
name: Mapped[str] = mapped_column(String(100))
|
||||
type: Mapped[str] = mapped_column(String(20), default="giro")
|
||||
# Konto-Saldo-Anker (Ausbaustufe 3 Task 1): ersetzt die bisherige
|
||||
# Statement-closing-Logik als Basis der Saldenrechnung. Beide Felder sind
|
||||
# nur gemeinsam gesetzt oder gemeinsam NULL (durchgesetzt in
|
||||
# app.routers.accounts.AccountPatch).
|
||||
anchor_date: Mapped[date | None] = mapped_column(Date, nullable=True)
|
||||
anchor_balance: Mapped[Decimal | None] = mapped_column(MONEY, nullable=True)
|
||||
|
||||
|
||||
class Category(Base):
|
||||
|
||||
Reference in New Issue
Block a user