Overview
The Employee Management system maintains a public directory of ESP Santa Fe de Antioquia staff members. This feature promotes transparency by allowing citizens to identify key personnel, understand the organizational structure, and know who to contact for specific services.Transparency Requirement
Public sector organizations in Colombia must publish information about their personnel as part of transparency and accountability requirements. This system fulfills those obligations.
User Workflows
Admin Adds Employee
Administrators create employee profiles with:
- Full name
- Job title/position (Occupation)
- Profile photograph
Public Display
Employee profiles are automatically displayed on the public directory page at
/funcionariosKey Features
Simple Profile Management
Streamlined interface for adding and managing employee profiles
Photo Gallery
Visual directory with employee photographs for easy identification
Public Directory
Accessible listing at
/funcionarios for citizen referenceRole-Based Access
Admin-only editing with public read access
Data Model
The Employee entity is intentionally simple, focusing on essential public information:Model View
Controller Actions
Admin Routes
List Employees - GET /Employees
List Employees - GET /Employees
Purpose: Display all employees in admin dashboardAccess: SuperAdmin, AdminFeatures:
- Complete list of all employee records
- Quick access to edit and delete actions
- Photo thumbnails for visual reference
Add Employee - GET/POST /Employees/Create
Add Employee - GET/POST /Employees/Create
Purpose: Create new employee profileAccess: SuperAdmin, AdminRequired Fields:
- Employee name
- Occupation/job title
- Profile photograph (uploaded via EmployeeCreateDto)
Delete Employee - GET/POST /Employees/Delete/{id}
Delete Employee - GET/POST /Employees/Delete/{id}
Purpose: Remove employee from directoryAccess: SuperAdmin, AdminUse Cases:
- Employee has left the organization
- Position has been eliminated
- Information correction needed
Public Routes
Public Directory - GET /funcionarios
Public Directory - GET /funcionarios
Purpose: Display employee directory to citizensAccess: Public (no authentication required)Features:
- Grid layout with photos and names
- Job titles displayed prominently
- Responsive design for mobile access
- Alphabetical or hierarchical sorting
Employee Photo Guidelines
Photo Requirements
To maintain a professional and consistent directory:
- Format: JPG or PNG
- Dimensions: Minimum 400x400 pixels (square)
- Background: Neutral, professional background
- Attire: Business or business casual
- File Size: Maximum 2MB
- Quality: Clear, well-lit professional headshot
Data Transfer Object (DTO)
The create operation uses a DTO for file upload handling:Display Options
The employee directory can be displayed in different formats:- Grid View
- List View
- Organizational Chart
Default layout showing employee cards with photos, names, and titles in a responsive grid
Privacy Considerations
Public Information Policy
As per Colombian transparency laws, the following information IS appropriate for public display:- Full name
- Official job title
- Professional photograph
- Official contact information (office phone, institutional email)
Service Layer
TheIEmployeeService interface provides abstraction for employee operations:
Use Cases
Citizen Looking for Contact
Citizen Looking for Contact
A citizen needs to contact the person responsible for water service connections:
- Visits
/funcionarios - Finds “Coordinador de Conexiones” in the directory
- Identifies the appropriate person to contact
New Employee Onboarding
New Employee Onboarding
HR department adds a new employee:
- Receives professional photo from new hire
- Logs into admin panel
- Navigates to Employees > Create
- Enters name, position, and uploads photo
- Employee appears on public directory immediately
Organizational Change
Organizational Change
An employee is promoted to a new position:
- Admin edits the employee record (if edit functionality exists)
- Updates the Occupation field
- Changes are reflected immediately on public directory
Future Enhancements
Consider these potential additions:
- Department/division grouping
- Email and phone number fields (institutional)
- Biography or responsibilities description
- Edit functionality (currently not implemented)
- Search and filter capabilities
- Export to PDF for printing
Related Features
- Blog System - Announce new staff appointments
- Document Management - Publish organizational charts