Agregar en el Modal campo de Nro Operario back y front

This commit is contained in:
2025-11-26 01:35:03 -03:00
parent 822ab5a1cb
commit 5b82418f0a
5 changed files with 46 additions and 1 deletions

View File

@@ -152,6 +152,7 @@ class InspectionBase(BaseModel):
vehicle_model: Optional[str] = None
vehicle_km: Optional[int] = None
client_name: Optional[str] = None
mechanic_employee_code: Optional[str] = None
class InspectionCreate(InspectionBase):
checklist_id: int
@@ -167,6 +168,7 @@ class Inspection(InspectionBase):
id: int
checklist_id: int
mechanic_id: int
mechanic_employee_code: Optional[str] = None
score: int
max_score: int
percentage: float