export interface LanguageDto {
  id: string;
  code: string;
  name: string;
  nativeName: string;
  isRightToLeft: boolean;
  isActive: boolean;
  createdOn: string;
  modifiedOn: string | null;
}

export interface LanguageLookupDto {
  readonly id: string;
  readonly code: string;
  readonly name: string;
  readonly nativeName: string;
  readonly isRightToLeft: boolean;
}

export interface CreateLanguageRequest {
  code: string;
  name: string;
  nativeName: string;
  isRightToLeft: boolean;
}

export interface UpdateLanguageRequest extends CreateLanguageRequest {
  isActive: boolean;
}

export type LanguageModalMode = 'create' | 'edit';
