diff --git a/backend/app/schemas/hours_payout.py b/backend/app/schemas/hours_payout.py index ad14db2..862670c 100644 --- a/backend/app/schemas/hours_payout.py +++ b/backend/app/schemas/hours_payout.py @@ -18,13 +18,13 @@ class HoursPayoutOut(BaseModel): id: uuid.UUID company_id: uuid.UUID user_id: uuid.UUID - user_name: str # Computed: first_name + last_name (wird im Router gesetzt) + user_name: str = "" # Computed: first_name + last_name (wird im Router gesetzt) hours: Decimal period_year: int | None period_month: int | None note: str | None created_by: uuid.UUID - created_by_name: str # Computed im Router + created_by_name: str = "" # Computed im Router created_at: datetime