@experts_hub/shared
Version:
Shared DTOs, interfaces, and utilities for experts hub applications
21 lines (20 loc) • 590 B
TypeScript
import { BaseEntity } from './base.entity';
import { PlanFeature } from './plan-feature.entity';
import { PlanPricing } from './plan-pricing.entity';
export declare enum PlanTypeEnum {
FREELANCER = "FREELANCER",
BUSINESS = "BUSINESS"
}
export declare class Plan extends BaseEntity {
name: string;
slug: string;
badgeLabel: string | null;
sortOrder: number;
isActive: boolean;
planType: PlanTypeEnum;
metadata: Record<string, unknown>;
stripeProductId: string | null;
createSlug(): void;
features: PlanFeature[];
pricing: PlanPricing[];
}