mirror of
https://github.com/beak-insights/felicity-lims.git
synced 2025-02-24 17:02:55 +08:00
25 lines
370 B
Python
25 lines
370 B
Python
from typing import Any, Optional
|
|
|
|
|
|
from pydantic import BaseModel
|
|
|
|
#
|
|
# Job Schemas
|
|
#
|
|
class ErrorLogBase(BaseModel):
|
|
content: Optional[Any] = None
|
|
|
|
|
|
class ErrorLog(ErrorLogBase):
|
|
uid: str| None = None
|
|
|
|
class Config:
|
|
orm_mode = True
|
|
|
|
|
|
class ErrorLogCreate(ErrorLogBase):
|
|
pass
|
|
|
|
|
|
class ErrorLogUpdate(ErrorLogBase):
|
|
pass
|