mirror of
https://gitlab.aachen.ccc.de/inventory/in.git
synced 2024-12-01 19:14:01 +01:00
17 lines
289 B
Python
17 lines
289 B
Python
|
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
|