export type FaqAudience = "student" | "entity" | "both";

export interface FaqCategory {
  id: number;
  name: string;
  sequence: number;
  icon?: string;
  audience: FaqAudience;
  item_count: number;
}

export interface FaqItem {
  id: number;
  question: string;
  answer: string;
  category_id: number;
  category_name: string;
  audience: FaqAudience;
  image?: string;
  video_url?: string;
  sequence: number;
}

export interface FaqCategoryCreateRequest {
  name: string;
  sequence?: number;
  icon?: string;
  audience: FaqAudience;
}

export interface FaqItemCreateRequest {
  question: string;
  answer: string;
  category_id: number;
  audience?: FaqAudience;
  video_url?: string;
  sequence?: number;
}
