Files
kontor/kontor-scripts/db/schemas/metadata.py
T
2025-05-13 00:42:41 +02:00

16 lines
267 B
Python

from pydantic import BaseModel, PositiveInt
class MetaDataTableResponse(BaseModel):
id: str
name: str
class MetaDataColumnResponse(BaseModel):
id: str
name: str
label: str
order: PositiveInt
ref_column: str | None
column_type: str