Include Loyalty/Communication/Sports Center backends and registry updates alongside production nginx and compose wiring. Co-authored-by: Cursor <cursoragent@cursor.com>
19 lines
319 B
Python
19 lines
319 B
Python
"""Common schemas."""
|
|
from __future__ import annotations
|
|
|
|
from uuid import UUID
|
|
|
|
from pydantic import BaseModel, ConfigDict
|
|
|
|
|
|
class ORMBase(BaseModel):
|
|
model_config = ConfigDict(from_attributes=True)
|
|
|
|
|
|
class IdResponse(BaseModel):
|
|
id: UUID
|
|
|
|
|
|
class MessageResponse(BaseModel):
|
|
message: str
|