43 lines
1.3 KiB
TypeScript
43 lines
1.3 KiB
TypeScript
/**
|
|
* AvanceObra Entity
|
|
* Registro de avances fisicos de obra por lote/departamento
|
|
*
|
|
* @module Progress
|
|
* @table construction.avances_obra
|
|
* @ddl schemas/01-construction-schema-ddl.sql
|
|
*/
|
|
import { Tenant } from '../../core/entities/tenant.entity';
|
|
import { User } from '../../core/entities/user.entity';
|
|
import { Concepto } from '../../budgets/entities/concepto.entity';
|
|
import { FotoAvance } from './foto-avance.entity';
|
|
export type AdvanceStatus = 'pending' | 'captured' | 'reviewed' | 'approved' | 'rejected';
|
|
export declare class AvanceObra {
|
|
id: string;
|
|
tenantId: string;
|
|
loteId: string | null;
|
|
departamentoId: string | null;
|
|
conceptoId: string;
|
|
captureDate: Date;
|
|
quantityExecuted: number;
|
|
percentageExecuted: number;
|
|
status: AdvanceStatus;
|
|
notes: string | null;
|
|
capturedById: string;
|
|
reviewedById: string | null;
|
|
reviewedAt: Date | null;
|
|
approvedById: string | null;
|
|
approvedAt: Date | null;
|
|
createdAt: Date;
|
|
createdById: string | null;
|
|
updatedAt: Date | null;
|
|
updatedById: string | null;
|
|
deletedAt: Date | null;
|
|
deletedById: string | null;
|
|
tenant: Tenant;
|
|
concepto: Concepto;
|
|
capturedBy: User;
|
|
reviewedBy: User | null;
|
|
approvedBy: User | null;
|
|
fotos: FotoAvance[];
|
|
}
|
|
//# sourceMappingURL=avance-obra.entity.d.ts.map
|