35 lines
1.0 KiB
TypeScript
35 lines
1.0 KiB
TypeScript
/**
|
|
* Retencion Entity
|
|
* Retenciones aplicadas a estimaciones
|
|
*
|
|
* @module Estimates
|
|
* @table estimates.retenciones
|
|
* @ddl schemas/04-estimates-schema-ddl.sql
|
|
*/
|
|
import { Tenant } from '../../core/entities/tenant.entity';
|
|
import { User } from '../../core/entities/user.entity';
|
|
import { Estimacion } from './estimacion.entity';
|
|
export type RetentionType = 'guarantee' | 'tax' | 'penalty' | 'other';
|
|
export declare class Retencion {
|
|
id: string;
|
|
tenantId: string;
|
|
estimacionId: string;
|
|
retentionType: RetentionType;
|
|
description: string;
|
|
percentage: number | null;
|
|
amount: number;
|
|
releaseDate: Date | null;
|
|
releasedAt: Date | null;
|
|
releasedAmount: number | null;
|
|
notes: string | null;
|
|
createdAt: Date;
|
|
createdById: string | null;
|
|
updatedAt: Date | null;
|
|
updatedById: string | null;
|
|
deletedAt: Date | null;
|
|
deletedById: string | null;
|
|
tenant: Tenant;
|
|
estimacion: Estimacion;
|
|
createdBy: User | null;
|
|
}
|
|
//# sourceMappingURL=retencion.entity.d.ts.map
|