import { IPaginateModel } from './core.interface';

export interface ILanguageModel extends IPaginateModel {
  data: ILanguage[];
}

export interface ILanguage {
  id: number;
  name: string;
  flag: string;
  locale: string;
  is_rtl: boolean;
  status: boolean;
  created_at?: string;
  updated_at?: string;
  deleted_at?: string;
}

export interface ILanguageFiledModel extends IPaginateModel {
  data: ILanguageFile[];
}

export interface ILanguageFile {
  [key: string]: string;
}
