1
0
mirror of https://gitlab.com/MoonTestUse1/AdministrationItDepartmens.git synced 2025-08-14 00:25:46 +02:00
Files
AdministrationItDepartmens/backend/app/schemas/tables.py
2025-01-02 04:30:51 +06:00

15 lines
269 B
Python

"""Table schemas"""
from pydantic import BaseModel, ConfigDict
class TableBase(BaseModel):
name: str
description: str
model_config = ConfigDict(from_attributes=True)
class TableCreate(TableBase):
pass
class TableResponse(TableBase):
id: int