export interface ArticleImage {
    thumb: string; // Đường dẫn ảnh thu nhỏ
    large: string; // Đường dẫn ảnh lớn
}

export interface Article {
    id: number;
    title: string;
    summary: string;
    request_path: string;
    review_rate: number;
    review_count: number;
    visit: number;
    like_count: number;
    article_time: number;
    allow_se_index: number;
    comment_count: number;
    comment_rate: number;
    last_update: number;
    image: ArticleImage; // Đối tượng ảnh
    url: string;
}

export interface ArticleDetailDataType {
    id: number;
    title: string;
    summary: string;
    image: ArticleImage; // Đối tượng ảnh
    url: string;
    category: number;
    content: string;
    request_path: string;
    path: string;
    canonical: string;
    last_update: number;
}

export interface ArticleListDataType {
    total: number;
    list: Article[];
}