export interface AuthorModel {
  // meta fields
  _id?: string | null;
  created_at: string;
  updated_at: string;

  // model fields
  username: string;
  name: string;
  email: string;
  avatar: string;
  is_active: boolean;
}

export interface ArticleModel {
  // meta fields
  _id?: string | null;
  created_at: string;
  updated_at: string;

  // model fields
  img: string;
  tag: string;
  title: string;
  description: string;
  content: string;

  // ref fields
  authors: AuthorModel[];
}
