export interface SubscriptionInfo {
  // 결제 정보
  lastPaymentDate: string;
  nextPaymentDate: string;
  subscriptionAmount: number;

  // 구독 플랜 정보
  plan: 'free' | 'basic' | 'premium' | 'enterprise';

  // 사용량 정보
  userCount: number;
  userLimit: number | null; // null = 무제한
  storageUsed: number; // TB 단위
  storageLimit: number; // TB 단위
  apiCallsUsed: number;
  apiCallsLimit: number;
}

export const PLAN_LABELS: Record<SubscriptionInfo['plan'], string> = {
  free: '무료',
  basic: '베이직',
  premium: '프리미엄',
  enterprise: '엔터프라이즈',
};

export const PLAN_COLORS: Record<SubscriptionInfo['plan'], string> = {
  free: 'bg-gray-100 text-gray-800',
  basic: 'bg-blue-100 text-blue-800',
  premium: 'bg-purple-100 text-purple-800',
  enterprise: 'bg-amber-100 text-amber-800',
};