mirror of
https://github.com/BluemediaDev/ScanOS.git
synced 2025-07-05 15:02:40 +02:00
13 lines
No EOL
254 B
Python
13 lines
No EOL
254 B
Python
from pydantic import BaseModel
|
|
import app.scanner.enums as scan
|
|
|
|
class ScanPage(BaseModel):
|
|
filename: str
|
|
size_bytes: int
|
|
|
|
class Config():
|
|
orm_mode = True
|
|
|
|
class ScanStatus(BaseModel):
|
|
pages: list[ScanPage]
|
|
status: scan.Status |