34 lines
967 B
TypeScript
34 lines
967 B
TypeScript
/**
|
|
* Checklist Entity
|
|
* Templates de inspección de calidad
|
|
*
|
|
* @module Quality
|
|
* @table quality.checklists
|
|
*/
|
|
import { Tenant } from '../../core/entities/tenant.entity';
|
|
import { User } from '../../core/entities/user.entity';
|
|
import { ChecklistItem } from './checklist-item.entity';
|
|
import { Inspection } from './inspection.entity';
|
|
export type ChecklistStage = 'foundation' | 'structure' | 'installations' | 'finishes' | 'delivery' | 'custom';
|
|
export declare class Checklist {
|
|
id: string;
|
|
tenantId: string;
|
|
code: string;
|
|
name: string;
|
|
description: string;
|
|
stage: ChecklistStage;
|
|
prototypeId: string;
|
|
isActive: boolean;
|
|
version: number;
|
|
createdAt: Date;
|
|
createdById: string;
|
|
updatedAt: Date;
|
|
updatedById: string;
|
|
deletedAt: Date;
|
|
deletedById: string;
|
|
tenant: Tenant;
|
|
createdBy: User;
|
|
items: ChecklistItem[];
|
|
inspections: Inspection[];
|
|
}
|
|
//# sourceMappingURL=checklist.entity.d.ts.map
|