id
id: string
workOrderId
workOrderId: string | null
workOrderNumber
workOrderNumber: string
workOrder
workOrder:
| { id: string; number: string; product: string; client: string }
| null
operationId
operationId: string
operation
operation: { id: string; name: string; code: string; description: string }
controlType
controlType: "visual" | "measurement" | "test" | "inspection"
result
result: string | null
passed
passed: boolean
performedBy: string | null
performedByUser: { id: string; name: string; email: string } | null
performedAt: string
notes
notes: string | null
photos
photos: string[]
attachments
attachments: string[]
status
status: "passed" | "failed"
OptionalqualityStatus
qualityStatus?: string | null