/** * Anticipo Entity * Anticipos otorgados a subcontratistas * * @module Estimates * @table estimates.anticipos * @ddl schemas/04-estimates-schema-ddl.sql */ import { Tenant } from '../../core/entities/tenant.entity'; import { User } from '../../core/entities/user.entity'; import { Amortizacion } from './amortizacion.entity'; export type AdvanceType = 'initial' | 'progress' | 'materials'; export declare class Anticipo { id: string; tenantId: string; contratoId: string; advanceType: AdvanceType; advanceNumber: string; advanceDate: Date; grossAmount: number; taxAmount: number; netAmount: number; amortizationPercentage: number; amortizedAmount: number; pendingAmount: number; isFullyAmortized: boolean; approvedAt: Date | null; approvedById: string | null; paidAt: Date | null; paymentReference: string | null; notes: string | null; createdAt: Date; createdById: string | null; updatedAt: Date | null; updatedById: string | null; deletedAt: Date | null; deletedById: string | null; tenant: Tenant; approvedBy: User | null; createdBy: User | null; amortizaciones: Amortizacion[]; } //# sourceMappingURL=anticipo.entity.d.ts.map