Initial certificate system
This commit is contained in:
18
backend/app/schemas/import_batch.py
Normal file
18
backend/app/schemas/import_batch.py
Normal file
@@ -0,0 +1,18 @@
|
||||
from datetime import datetime
|
||||
|
||||
from pydantic import BaseModel
|
||||
|
||||
|
||||
class ImportBatchOut(BaseModel):
|
||||
id: int
|
||||
filename: str
|
||||
status: str
|
||||
total_rows: int
|
||||
valid_rows: int
|
||||
failed_rows: int
|
||||
conflict_rows: int
|
||||
error_report_path: str | None
|
||||
created_at: datetime
|
||||
updated_at: datetime
|
||||
|
||||
model_config = {"from_attributes": True}
|
||||
Reference in New Issue
Block a user