Overview
SGD-MCS manages five types of entities: Students (Estudiantes), Teachers (Docentes), Thesis (Tesis), External Collaborators (Externos), and Events (Eventos). Each entity type has its own CRUD operations and automatic Google Drive folder management.Entity Architecture
The system uses a universal entity management pattern:- Backend:
Backend/core/EntityManager.js- Universal CRUD logic - Frontend: Entity-specific list and form components
- Storage: Google Sheets + Google Drive folders
Entity Types
Students (Estudiantes)
Students represent graduate program participants tracked through their academic journey. Key Fields:ID_Estudiante- Auto-generated unique identifierNombre1,Apellido1- Required name fieldsCedula- Identity document numberEmail- Contact emailCohorte_Ingreso- Entry cohort (e.g., “2023-1”)Estado- Status: Cursando, Egresado, En Pausa, RetiradoID_Carpeta_Drive- Associated Drive folder
Teachers (Docentes)
Faculty members associated with the program. Key Fields:ID_Docente- Auto-generated identifierNombre1,Apellido1- Name fieldsEmail- Contact emailTipo_Vinculacion- Employment typeArea_Conocimiento- Expertise area
Thesis (Tesis)
Research projects and dissertations. Key Fields:ID_Tesis- Unique identifierTitulo_Investigacion- Research titleNombre_Estudiante- Associated studentAño- YearCalificacion- Grade
External Collaborators (Externos)
External partners and evaluators.Events (Eventos)
Academic events and activities.Creating Entities
Navigate to Entity List
Go to the entity list page (e.g.,
/students for students). Click the Nuevo button in the top right corner.Fill Entity Form
Complete all required fields marked with an asterisk (*). The system validates:
- Required fields are not empty
- Email format is correct
- Document numbers are unique
- Dates are in valid format
Automatic ID Generation
Entity IDs are auto-generated using a sequential pattern:Example IDs:
- Students:
EST0001,EST0002 - Teachers:
DOC0001,DOC0002 - Thesis:
TES0001,TES0002
Drive Folder Creation
When creating an entity, a Google Drive folder is automatically created:Folder structure example:
Updating Entities
Sync Drive Folder (Optional)
If the Drive folder is missing or unlinked, the system can recreate it:
Deleting Entities
Bulk Delete
Select multiple entities using checkboxes, then click Eliminar in the floating action dock.
Bulk Operations
Bulk Update
Update multiple entities at once:Select Entities
Check multiple entities in the list view. A floating dock appears showing the selection count.
Choose Fields to Update
Select which fields to modify and enter new values. The changes will apply to all selected entities.
Filtering and Search
The list view provides powerful filtering:Available Filters
- Search: By name or document number
- Status: Cursando, Egresado, En Pausa, Retirado
- Cohort: Entry semester/year
- Document Type: CC, TI, CE, PAS
Pagination
Lists are automatically paginated for performance:Data Validation
All entity operations include validation:- Required fields: Must be present and non-empty
- Email format: Validated using regex
- Unique constraints: Document numbers and emails must be unique
- Date formats: Auto-converted to ISO format
Audit Trail
Every entity operation is logged:- Action type (CREATE, UPDATE, DELETE)
- Timestamp
- User email
- Entity ID and type
- Additional context
Best Practices
- Always verify entity data before bulk operations
- Use filters to find specific records quickly
- Check Drive folder links regularly to ensure sync
- Export important data before performing bulk deletes
Next Steps
- Learn about Document Upload to manage files within entities
- Explore Drive Integration for advanced folder management
- Review Import/Export for bulk data operations