michangarrito/apps/backend/dist/modules/customers/entities/fiado.entity.d.ts
rckrdmrd 97f407c661 [MIGRATION-V2] feat: Migrar michangarrito a estructura v2
- Prefijo v2: MCH
- TRACEABILITY-MASTER.yml creado
- Listo para integracion como submodulo

Workspace: v2.0.0 | SIMCO: v4.0.0
2026-01-10 11:28:54 -06:00

26 lines
603 B
TypeScript

import { Customer } from './customer.entity';
import { FiadoPayment } from './fiado-payment.entity';
export declare enum FiadoStatus {
PENDING = "pending",
PARTIAL = "partial",
PAID = "paid",
CANCELLED = "cancelled"
}
export declare class Fiado {
id: string;
tenantId: string;
customerId: string;
saleId: string;
amount: number;
paidAmount: number;
remainingAmount: number;
description: string;
status: FiadoStatus;
dueDate: Date;
paidAt: Date;
createdAt: Date;
updatedAt: Date;
customer: Customer;
payments: FiadoPayment[];
}