export interface Category {
  id: number;
  categoryName: string;
  categorySlug: string;
  description: string;
  iconUrl: string;
  parentId: number | null;
  displayOrder: number;
}

export interface Pagination {
  pageNumber: number;
  pageSize: number;
  totalCount: number;
  totalPages: number;
}

export interface LoadCategoryResponse {
  categories: Category[];
  pagination: Pagination;
}

export interface Article {
  categoryId: number;
  id: number;
  isFeatured: boolean;
  isPinned: boolean;
  publishedDate: string;
  slug: string;
  thumbnailUrl: string;
  viewCount: number;
  summary: string;
  title: string;

  content: string;
  coverImageUrl: string;
  metaDescription: string;
  metaKeywords: string;
  createdDate: string;
}

export interface LoadArticleResponse {
  articles: Article[];
  pagination: Pagination;
}

export interface LoadArticleDetailResponse {
  article: Article;
}
