michangarrito/apps/backend/dist/modules/subscriptions/entities/subscription.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

27 lines
644 B
TypeScript

import { Plan } from './plan.entity';
export declare enum SubscriptionStatus {
TRIAL = "trial",
ACTIVE = "active",
PAST_DUE = "past_due",
CANCELLED = "cancelled",
EXPIRED = "expired"
}
export declare class Subscription {
id: string;
tenantId: string;
planId: string;
billingCycle: string;
currentPeriodStart: Date;
currentPeriodEnd: Date;
status: SubscriptionStatus;
cancelAtPeriodEnd: boolean;
cancelledAt: Date;
paymentMethod: string;
stripeSubscriptionId: string;
stripeCustomerId: string;
trialEndsAt: Date;
createdAt: Date;
updatedAt: Date;
plan: Plan;
}