Automated Action 77865dae90 Setup complete FastAPI backend with user authentication, client management, and invoice generation
Features:
- User authentication with JWT
- Client management with CRUD operations
- Invoice generation and management
- SQLite database with Alembic migrations
- Detailed project documentation
2025-05-26 17:41:47 +00:00

20 lines
357 B
Python

from datetime import datetime
from typing import Optional
from pydantic import BaseModel
class ActivityBase(BaseModel):
action: str
entity_type: str
entity_id: Optional[int] = None
details: Optional[str] = None
timestamp: datetime
class Activity(ActivityBase):
id: int
user_id: int
class Config:
orm_mode = True