Files
kontor/kontor-api/src/schema/user/profile.py
T
Thomas Peetz cf770f4814 refactor kontor-api to use SQLAlchemy 2.0 features for mapping fields
(cherry picked from commit e57abdbef7e13e3880738cd639225df5db0c37be)
2026-01-30 10:45:28 +01:00

14 lines
229 B
Python

from pydantic import BaseModel
from src.db.models.admin import Profile
class ProfileResponse(BaseModel):
id: str
user_name: str
class ProfileModel(BaseModel):
user_name: str
first_name: str
last_name: str