/**
 * Tipos TypeScript para o módulo de Organização (sigefp-org)
 */

export interface MinistryDTO {
  id: string; // UUID
  code: string;
  name: string;
  acronym: string;
  description?: string;
  logo?: string;
  isActive: boolean;
}

export interface OrgUnitDTO {
  id: string; // UUID
  code: string;
  name: string;
  acronym: string;
  type: 'MINISTRY' | 'SECRETARIAT' | 'DIRECTORATE' | 'DEPARTMENT' | 'SECTION' | 'OTHER';
  ministryId: string; // UUID
  parentUnitId?: string; // UUID (opcional)
  address?: string;
  email?: string;
  phone?: string;
}

export interface PositionDTO {
  id: string; // UUID
  code: string;
  title: string;
  description?: string;
  level: string;
  orgUnitId: string; // UUID
  isManagerial: boolean;
}
