fix: Lint fixes of core, models and schemas
All checks were successful
Backend CI / test (push) Successful in 4m5s

This commit is contained in:
JSC
2025-07-31 22:06:31 +02:00
parent 01bb48c206
commit 7ba52ad6fc
6 changed files with 18 additions and 18 deletions

View File

@@ -17,7 +17,8 @@ class CreditTransaction(BaseModel, table=True):
user_id: int = Field(foreign_key="user.id", nullable=False)
action_type: str = Field(nullable=False)
amount: int = Field(nullable=False) # Negative for deductions, positive for additions
# Negative for deductions, positive for additions
amount: int = Field(nullable=False)
balance_before: int = Field(nullable=False)
balance_after: int = Field(nullable=False)
description: str = Field(nullable=False)