27 lines
808 B
TypeScript
27 lines
808 B
TypeScript
/**
|
|
* InspectionResult Entity
|
|
* Resultados por item de inspección
|
|
*
|
|
* @module Quality
|
|
* @table quality.inspection_results
|
|
*/
|
|
import { Tenant } from '../../core/entities/tenant.entity';
|
|
import { Inspection } from './inspection.entity';
|
|
import { ChecklistItem } from './checklist-item.entity';
|
|
export type InspectionResultStatus = 'pending' | 'passed' | 'failed' | 'not_applicable';
|
|
export declare class InspectionResult {
|
|
id: string;
|
|
tenantId: string;
|
|
inspectionId: string;
|
|
checklistItemId: string;
|
|
result: InspectionResultStatus;
|
|
observations: string;
|
|
photoUrl: string;
|
|
inspectedAt: Date;
|
|
createdAt: Date;
|
|
updatedAt: Date;
|
|
tenant: Tenant;
|
|
inspection: Inspection;
|
|
checklistItem: ChecklistItem;
|
|
}
|
|
//# sourceMappingURL=inspection-result.entity.d.ts.map
|