@sourceloop/ctrl-plane-tenant-management-service
Version:
Tenant Management microservice for SaaS control plane
52 lines (36 loc) • 981 B
text/typescript
import {model, property} from '@loopback/repository';
import {IPlan, ISubscription} from '../../types';
export class SubscriptionDTO implements ISubscription {
deleted?: boolean;
deletedOn?: Date;
deletedBy?: string;
createdOn?: Date;
modifiedOn?: Date;
createdBy?: string;
modifiedBy?: string;
id: string;
subscriberId: string;
startDate: string;
endDate: string;
status: number;
planId: string;
invoiceId: string;
// Assuming IPlan interface is defined, you can include it here
plan?: IPlan;
}