export interface NamePair {
  en: string;
  am: string;
}

export interface Organization {
  id: string;
  name: NamePair;
  key: string;
  isSuperAdmin: boolean;
  isGovernmentOrganization: boolean;
  status: string;
  parentId: string | null;
  organizationTypeId: string;
  createdAt: string;
  updatedAt: string;
}

export interface Profession {
  id: string;
  departmentId: string;
  department?: Organization;
  name: NamePair;
  description: NamePair;
  isActive: boolean;
  createdAt: string;
  updatedAt: string;
}

export interface ListResponse<T> {
  count?: number;
  total?: number;
  items: T[];
}

export interface CreateProfessionPayload {
  departmentId: string;
  name: NamePair;
  description: NamePair;
}

export interface UpdateProfessionPayload {
  id: string;
  departmentId?: string;
  name?: NamePair;
  description?: NamePair;
  isActive?: boolean;
}
