37 lines
1.1 KiB
TypeScript
37 lines
1.1 KiB
TypeScript
/**
|
|
* CorrectiveAction Entity
|
|
* Acciones correctivas (CAPA)
|
|
*
|
|
* @module Quality
|
|
* @table quality.corrective_actions
|
|
*/
|
|
import { Tenant } from '../../core/entities/tenant.entity';
|
|
import { User } from '../../core/entities/user.entity';
|
|
import { NonConformity } from './non-conformity.entity';
|
|
export type ActionType = 'corrective' | 'preventive' | 'improvement';
|
|
export type ActionStatus = 'pending' | 'in_progress' | 'completed' | 'verified';
|
|
export declare class CorrectiveAction {
|
|
id: string;
|
|
tenantId: string;
|
|
nonConformityId: string;
|
|
actionType: ActionType;
|
|
description: string;
|
|
responsibleId: string;
|
|
dueDate: Date;
|
|
status: ActionStatus;
|
|
completedAt: Date;
|
|
completionNotes: string;
|
|
verifiedAt: Date;
|
|
verifiedById: string;
|
|
effectivenessVerified: boolean;
|
|
createdAt: Date;
|
|
createdById: string;
|
|
updatedAt: Date;
|
|
updatedById: string;
|
|
tenant: Tenant;
|
|
nonConformity: NonConformity;
|
|
responsible: User;
|
|
createdBy: User;
|
|
verifiedBy: User;
|
|
}
|
|
//# sourceMappingURL=corrective-action.entity.d.ts.map
|