mirror of
https://gitlab.aachen.ccc.de/inventory/in.git
synced 2025-06-08 21:15:09 +02:00
initial commit
This commit is contained in:
commit
0961d0e47d
15 changed files with 564 additions and 0 deletions
16
schemas.py
Normal file
16
schemas.py
Normal file
|
@ -0,0 +1,16 @@
|
|||
from pydantic import BaseModel
|
||||
|
||||
|
||||
class Item(BaseModel):
|
||||
id: str
|
||||
is_in: str | None
|
||||
coords_bl: str | None
|
||||
coords_tr: str | None
|
||||
type: str | None
|
||||
name: str | None
|
||||
content: str | None
|
||||
note: str | None
|
||||
hidden: bool
|
||||
|
||||
class Config:
|
||||
orm_mode = True
|
Loading…
Add table
Add a link
Reference in a new issue