feat(customers): add dashboard and customer management

This commit is contained in:
Schubert Ferenc 2026-07-02 23:37:46 +02:00
parent 694b7bd09a
commit 92cb8d1286
28 changed files with 2521 additions and 13 deletions

View file

@ -0,0 +1,24 @@
from pydantic import BaseModel
from app.schemas.customer import CustomerResponse
class MetricCard(BaseModel):
label: str
value: int
class EmptyWidget(BaseModel):
title: str
message: str
class DashboardSummary(BaseModel):
customers: list[MetricCard] = []
latest_customers: list[CustomerResponse] = []
users: list[MetricCard] = []
roles: list[MetricCard] = []
activities: EmptyWidget
tasks: EmptyWidget
tickets: EmptyWidget
projects: EmptyWidget