@sourceloop/ctrl-plane-subscription-service
Version:
Subscription management microservice for SaaS control plane.
34 lines (27 loc) • 577 B
text/typescript
import {model, property} from '@loopback/repository';
import {UserModifiableEntity} from '@sourceloop/core';
({
name: 'plan_sizes',
})
export class PlanSizes extends UserModifiableEntity {
({
type: 'string',
id: true,
generated: true,
})
id: string;
({
type: 'string',
required: true,
})
size: string;
({
type: 'object',
})
config?: object;
constructor(data?: Partial<PlanSizes>) {
super(data);
}
}
export interface PlanSizesRelations {}
export type PlanSizesWithRelations = PlanSizes;