43 lines
1.3 KiB
TypeScript
43 lines
1.3 KiB
TypeScript
/**
|
|
* Generador Entity
|
|
* Numeros generadores (soporte de cantidades para estimaciones)
|
|
*
|
|
* @module Estimates
|
|
* @table estimates.generadores
|
|
* @ddl schemas/04-estimates-schema-ddl.sql
|
|
*/
|
|
import { Tenant } from '../../core/entities/tenant.entity';
|
|
import { User } from '../../core/entities/user.entity';
|
|
import { EstimacionConcepto } from './estimacion-concepto.entity';
|
|
export type GeneratorStatus = 'draft' | 'in_progress' | 'completed' | 'approved';
|
|
export declare class Generador {
|
|
id: string;
|
|
tenantId: string;
|
|
estimacionConceptoId: string;
|
|
generatorNumber: string;
|
|
description: string | null;
|
|
status: GeneratorStatus;
|
|
loteId: string | null;
|
|
departamentoId: string | null;
|
|
locationDescription: string | null;
|
|
quantity: number;
|
|
formula: string | null;
|
|
photoUrl: string | null;
|
|
sketchUrl: string | null;
|
|
capturedById: string;
|
|
capturedAt: Date;
|
|
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;
|
|
estimacionConcepto: EstimacionConcepto;
|
|
capturedBy: User;
|
|
approvedBy: User | null;
|
|
createdBy: User | null;
|
|
}
|
|
//# sourceMappingURL=generador.entity.d.ts.map
|